Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Evaluate fibonacci of numbers within the C and C++ forums, part of the Software Development category; Write a program that evaluate the fibonacci of numbers tells the nth place of the number NOTE : [This question was asked by basiliyos]...
|
|||||||
|
|||
|
Evaluate fibonacci of numbers
Write a program that evaluate the fibonacci of numbers tells the nth place of the number
NOTE : [This question was asked by basiliyos] |
| Sponsored Links |
|
|||
|
Re: Evaluate fibonacci of numbers
Using the following link fo find the code for fibonacci series....
URL: C++ Programming : Program 36-A -------------------- suresh |
|
|||
|
Re: Evaluate fibonacci of numbers
main()
{ int i=1,m,j=1,n,k; clrscr(); scanf("%d",&n); for(m=1;m<=n-2;m++) { i=j; j=k; k=i+j; } printf("%d",k); getch(); } At last we have nth value of fibonacci in k. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 3-Digit Numbers Puzzle | admin | Brainteasers | 4 | 06-17-2008 05:58 AM |
| Triangular Numbers. | jamesravid | Brainteasers | 2 | 11-06-2006 10:08 AM |
| Puzzle with numbers | blenda | Brainteasers | 3 | 09-18-2006 03:36 PM |
| Can you find the numbers | Remasri | Brainteasers | 1 | 08-17-2006 05:08 AM |
| How to Evaluate | joel | Interviews | 1 | 08-06-2006 03:17 PM |