Fibonacci Series With Recursion And Without Recursion
There are two ways to write the Fibonacci Series program: Fibonacci Series without recursion Fibonacci Series using recursion Fibonacci Series Without Recursion #include<stdio.h> #include<conio.h> void main() { int n1=0,n2=1,n3,i,number; clrscr(); printf(“Enter the number of elements:”); scanf(“%d”,&number); printf(“\n%d %d”,n1,n2); //print 0 and 1 for(i=2;i<number;++i) //loop starts… Read More »Fibonacci Series With Recursion And Without Recursion