-
March 4th, 2012, 01:29 AM
#1
In need of assistance, please.
I do not know the first place to begin on this project. Here's what I have been asked to do:
Leonardo Fibonacci is known for discovery of the number pattern in nature:
1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
Where the next number is determined by adding the two preceding values. The sequence begins with the first two number being 1 and 1.
I need to ask the user which Fibonacci number they would like to calculate and print the appropriate number. For example: The 6th Fibonacci number is 8.
Help would be greatly appreciated!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|