5. Write a program that generates and displays the Fibonacci sequence numbers of n(as input). In fibonacci, the current third number is the sum of two previous numbers;
Sample input/output dialogue:
Enter a no.: 9
Fibonacci series: 11 2 3 5 8 13 21 34
Comments
Leave a comment