#include<stdio.h>
#include<conio.h>
void main()
{
int i, a=1, b=0, sum;
clrscr();
for(i=0;i<20;i++)
{
sum = a + b;
a = b;
b = sum;
printf("%d", sum);
}
getch();
}
#include<conio.h>
void main()
{
int i, a=1, b=0, sum;
clrscr();
for(i=0;i<20;i++)
{
sum = a + b;
a = b;
b = sum;
printf("%d", sum);
}
getch();
}
0 Comments