Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  India NewsIndia News  
Keywords
2010 papers prelim YEAR RESULT CLASS physics 2006 question
Latest topics
Top posters
abhas
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
Anu..i luv icse...:)
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
G-7
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
siya
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
Candy
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
jOhNy
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
Apurva
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
WinRrule
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
ambili
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 
saif
Return the nth Fibonacci number using recursive method JAVA Vote_lcapReturn the nth Fibonacci number using recursive method JAVA Voting_barReturn the nth Fibonacci number using recursive method JAVA Vote_rcap 



Search if you can't find it here

Return the nth Fibonacci number using recursive method JAVA

View previous topic View next topic Go down
AuthorMessage
abhas
Active member
Active member
abhas


Return the nth Fibonacci number using recursive method JAVA Vide
PostSubject: Return the nth Fibonacci number using recursive method JAVA Return the nth Fibonacci number using recursive method JAVA EmptyFri Dec 11, 2009 4:03 pm

public static int fib(int n)

{

if (n <= 2)

return 1;

else

return fib(n - 1) + fib(n - 2);

}
Back to top Go down
View user profile

Return the nth Fibonacci number using recursive method JAVA

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: Computer-