#include<iostream>
usingnamespace std;
int main()
{
int n, c, first = 1, second = 2, next;
{cout << "Enter the number of terms of Fibonacci series you want" << endl;
cin >> n;
}
for (c = 1; c < n; c++)
{
if (c <= 0)
next = c;
else
{
next = first + second;
first = second;
second = next;
}
cout << second << endl;
}
return 0;
}