Friday, May 16, 2008

fibbonaci series program

#include
void main()
{
int a=-1,b=1,c,n;
printf("enter the limit of the series: ");
scanf("%d",&n);
for(i=0,i {
c=a+b;
a=b;
b=c;
printf("%d ",c);
}
getch();
}

No comments:

Contributors