#include<iostream>
using namespace std;
int main()
{
int *p;
p=new int[20];
int i;
int Fib[20]={1,1};
for(i=2;i<20;i++)
Fib[i]=Fib[i-1]+Fib[i-2];
for(i=0;i<20;i++)
cout<<Fib[i] <<endl;
delete p;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int *p;
p=new int[20];
int i;
int Fib[20]={1,1};
for(i=2;i<20;i++)
Fib[i]=Fib[i-1]+Fib[i-2];
for(i=0;i<20;i++)
cout<<Fib[i] <<endl;
delete p;
return 0;
}