#include<stdio.h>
#include<conio.h>
void
main()
{
int n,a=0,b=1,i,c;
clrscr();
printf("\n enter two many term u
want");
scanf("\n %d",&n);
printf("\n %d",a);
printf("\n %d",b);
for(i=1;i<=n;i++)
{
c=a+b;
printf("\n %d",c);
a=b;
b=c;
}
getch();
}
/* output
enter two many term u want5
0
1
1
2
3
5
8 */