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
Given an array of size n+1 which contains all the numbers from 1 to n.Find the number which is repeated in O(n) time.How do you proceed with the same with floating numbers from 0 to 1 instead of 1 to n?
Write a program to reverse a number?
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.
what is the certificates in biztalk?
is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...
hai i like to do some certifications in programming or any other......... am doing my IT third year......... pls guide me...... mail me ur suggestions to ranjithmaharaj@gmail.com...
why applet is introduced?
major characteristics of software system
Difference between delegates and Events?
write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?
which property is used to display the advertisements with adrotator control
How should a programmer decide whether to use a macro or a subroutine to accomplish a given logical function
1 Answers R V College of Engineering, University of Jordan,