Showing posts with label software programs. Show all posts
Showing posts with label software programs. Show all posts

Feb 2, 2013

Fibonacci Program OF 10 NUMBER




#include"stdio.h"
#include"conio.h"
#include"math.h"
void main()
{
clrscr();
int i,f0,f1=1,fibo;
printf("The Fibonacci Series is=");
for(i=1;i<=10;i++);
{
fibo=f0+f1;
printf("%d\t",fibo);
f1=f0;
f0=fibo;
}
getch();
}

Popular Posts