Fibonacci series program

#include
main()
{
int i,n,f1,f2,f3;
system("clear");
f1=-1;
f2=1;
printf("Enter the limit : ");
scanf("%d",&n);
printf("The Fibonacci series are....\n");
for(i=1;i<=n;i++)
{
f3=f1+f2;
printf("%d\n",f3);
f1=f2;
f2=f3;
}
}

1 comment:

kaceehackenberg said...

Casino at Marysville, OK (MapYRO)
The Casino at Marysville offers 576 slot machines, including progressive jackpot 광주광역 출장마사지 progressive jackpots 서귀포 출장안마 and 경상남도 출장마사지 progressive jackpots. The 당진 출장안마 casino also features 충청남도 출장안마 table games