Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Calculating Fibonacci numbers recursively - 1/5

Challange: Write a program that calculates the Fiboonacci sequence using a recursive function.
The Fibonacci sequence is a series of numbers where the next number is the sum of the previous two numbers.
A recursive function is a function that calls itself under certain conditions.

Starting hint: Use a function that takes 2 fibonacci numbers and returns the next one.