Program Creation using C Language.?

Raphael

New member
Write a program using either for loop, while loop or do-while loop in C language that generates and displays Fibonacci sequence numbers of n (as input). In Fibonacci, the current third number is the sum of two previous numbers.

Sample Input/Output:
Enter a number: 9
Fibonacci Series: 1 1 2 3 5 8
.---------------------.> 1 3 2 1 3 4
 
Back
Top