Amar
- 1. 5 AmardeepGoyal
PROGRAM-3
WAP FOR FABBONICI SERIES
#include<iostream.h>
#include<conio.h>
voidmain()
{
clrscr();
intl,a=0,i,b=1,c;
cout<<"enterlimit";
cin>>l;
cout<<"fabbonici seriesare ";
cout<<a<<"t"<<b;
for(i=1;i<=l;i++)
{
c=a+b;
a=b;
b=c;
cout<<"t"<<c;
}
getch();
}