Introduction:
- In this article i'm going to explain " how to find the fibonacci series"
Software Requirements:
- Turbo C++ OR C
Programming:
- #include<stdio.h>
- void main()
- {
- int a,b,c,i,n;
- a=0;
- b=1;
- printf("Enter a no to define length of the series:");
- scanf("%d",&n);
- printf("\n The series is:\n");
- printf("%d\t%d",a,b);
- for (i=0;i<n;i++)
- {
- c=a+b;
- a=b;
- b=c;
- printf("\t%d",c);
- }
- getch();
- }
- In the above programming, i have explained about the fibonacci series is defined by length of fibonacci sequence in an cleared manner.

Output:

Join the conversation! Your thoughts help the community grow.