The following figure shows the flowchart for Fibonacci Series up to a given number. The number is considered as a variable “len” in the flowchart. Check the following C-Programs for Fibonacci series.
C Program for Fibonacci Series using While Loop
C program for Fibonacci Series using do-while Loop
Example Fibonacci series: