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)
No Answer is Posted For this Question
Be the First to Post Answer
what is d main diff between the java and .net framework
what is the filters in biztakk server? where it can use?
What is the difference between procedure -oriented language and object oriented language?
22 Answers IBM, Infosys, TCS,
what are resources in case of Threads
how can i create report in abap to insert data in table pa0002 using insert command
what is different betweet class and interface in java?
2 Answers Microsoft, Sun Microsystems,
Why we need new operator in java at the time of object declaration and why not in c++?
Diffrence between 2.0,3.0,3.5,4.0. versions of .net?
iam confused among testing ,.net and java. can anybody help me.
THE CHANNEL IN DATA COMMUNICATION CAN BE?
Define Abstract method & class with Example
Where do we need Operator overloading?