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
Indentify the essential difference between GUI and a command line operating systems?
1 Answers Deloitte, Infosys, Wipro,
Q1.Write a C program which asks the user for a number between 1 to 9 and shows the number. If the user inputs a number out of the specified range, the program should show an error and prompt the user for a valid input.
Write a program to swap the content of two variables without using a third variable.
what is delegats ?
when we use mantis? how learn mantis?
what is the difference between an OS(operating system) and Framework?
1.Describe about your project?
Is strus threadsafe or not?
if 2 is passed as an argument to the method,void GC.Collect then what would be the result?
How to find out the user exit for va01.
hi i m deepak my shedule for NIC pi is 17 Apr please contact me if anybody has interview on same day or give me some idea who have faced
Programs in JAVA to get the remainder and quotient of given two numbers without using % and / operators?