Friday, January 02, 2009

Program to genarate fibanocci serous

Buzz It
/*Program to genarate fibanocci serous*/
//
#include
#include
void main()
{
int a,b,c,n,i;
clrscr();
printf("Enter the number \n");
scanf("%d",&n);
a=-1;
b=1;
printf("The Fiboacci serous is=\t");
for (i=0;i {
c=a+b;
printf("%d\t",c);
a=b;
b=c;
}
getch();
}

-->

0 comments:

Post a Comment