Can Someone tell me why this code doesn't work

running on Arduino uno