Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More Programming Languages AllOther Interview Questions

Diff between %let and Call symput?

1 Answers   Accenture,


what is the use MDM(Master Data Management)and meaning

0 Answers  


what is difference between oracle and pl/sql

1 Answers  


What is good attributes of Programming language ?

6 Answers   GKN Land Systems,


What is diffrent between Method and and function in c#

0 Answers  


can we convert .class file to dll file

1 Answers  


what is the difference between uservariables and systemvariables (in Environmental variables)???

0 Answers  


Define Form modules, Class modules and Standard modules

0 Answers   Global Hunt,


How to call a C++ function which is compiled with C++ compiler in C code?

0 Answers   Yahoo,


Hi all... I had completed MSC(Computer) and had join the construction company based on sap.they want me to work on abap.but software company is totally different from construction company and they want me 2 grasp it as fast i can.i am finding it difficult.what should i do??????

0 Answers  


how we can know the funcions available in a class recording java?

0 Answers  


Piggy backing is a technique for a) Flow control b) sequence c) Acknowledgement d) retransmition

17 Answers   Fast Booking, HCL, Lucent, NIC,


Categories