pgm to reverse string using arrays i.e god is love becomes
love is god)
(assumption:only space is used for seperation of words)
no addtional memory used.i.e no temporary arrays can used.
One boy has to climb steps. He can climb 1 or 2 steps at a time.
Write a function that will returns number of way a boy can
climb the steps.
Int WaytoSteps(int n)
(eg:- suppose number of steps is n=4 ,the function will
return 5
(one-one-one-one ,one-one-two, one-two-one-,two-one-one,
two-two)