In mathematics, the Fibonacci Sequence is a sequence in which each number is the sum of the two preceding ones.
This is a code exercise and I solve it in two ways.
- The first method is a while loop. This prints all the digits up to the input number.
- The second method is using recursion. This prints the n'th number.