Your friend Paul also tries to write a program, which calculates the first 10 Fibonacci numbers. But his program doesn't work. Help Paul write the program.
Pay attention you shouldn't output the 0 value
Your friend Paul also tries to write a program, which calculates the first 10 Fibonacci numbers. But his program doesn't work. Help Paul write the program.
Sample Input 1:
Sample Output 1:
1
1
2
3
5
8
13
21
34
55Create a free account to access the full topic