See the description of the definition of the Fibonacci number sequence on the fo
ID: 3642130 • Letter: S
Question
See the description of the definition of the Fibonacci number sequence on the following link: http://en.wikipedia.org/wiki/Fibonacci_numberYou only need to read the first three paragraphs.
You are to write a program that asks the use to enter an integer n and then print out the Fibonacci sequence that ends with the number Fn. The integer n must be greater than or equal to zero.Your program must have a function that calculates and prints the Fibonacci sequence.
The output should work when the input numbers are:
0
1
2
-1, -100, 3
10
11
12
13