C program to find fibonacci series using do while loop

C program to find fibonacci series using do while loop


Input:

Enter the value of n to find fibonacci series upto n terms:
5

Output:

0 1 1 2 3

Implementation: