Fibonacci Series
Fibonacci numbers are in the following integer sequence :
0 1 1 2 3 5 8 13 21 34 55 89 ...
/*Print Fibonacci series*/
#include<stdio.h>
#include<conio.h>
int main()
{
int x,y,z;
x=0;
y=1;
z=x+y;
printf("%d\t",x);
x=y;
y=z;
getch();
return 0;
}
Comments
Post a Comment