Fibonacci Numbers

🎯 Write a program that produces numbers from the Fibonacci series.

In the Fibonacci series, each number is the sum of the two preceding ones. The first numbers of the series are:

0, 1, 1, 2, 3, 5, 8, 13, 21, 34

Hints

  • it is possible to implement the solution as a recursive function or without recursion.

Extra Challenge

  • do not use the assignment operator (=)