if ant gets up 3 steps and down 2 steps a day.then in which step it is at the end of 30th day(::there are only 30 steps::)
At the end of 28th day it will be at 28th step, then it will not have enough steps to go up.
This question is to see if you can see past the basic maths. The basic maths answer is that the net result is 30 days to reach the top. But the real answer as suggested is 28 because on day 28 he starts on 28 goes up 3 and is at the top.
It depends which step the ant starts on.
Can Ant really live for such a long time of 30 days !!
can the ant discuss the c language when he gets to the 30th step?
Fog Creek Home