Write a program to generate the Fibonacci Series upto N terms for all N > 0.
Input Output Specifications
- Each line of the input file contains a single positive integer N, 0 <= N <= 40.
- You must keep reading the input till EOF. There is more than one input.
- Corresponding to each input integer, print out the Fibonacci Series up to N terms.
- Each number should be followed by a space.
1 1Problem Setter: Kaustubh Karkare
1 1 2
1 1 2 3 5