A man starts walking from a point on the surface of earth and reaches diagonally opposite point, then the work is done by gravity and then work done is zero. Here, the direction of motion is perpendicular to the force of gravity.
∵workdone=Fdscosθ
here,θ=900
W=0