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

Flowchart

Example Fibonacci series:

input:

10

Output:

0

1

1

2

3

5

8

13

21

34