Posts by Antonio Oliveira • 31 points
1 post
-
3
votes4
answers5555
viewsA: Determine the nth Fibonacci term with recursion
Recursion is a function that has a defined basis, in the case of Fibonacci it was that fib(1) = 1, and fib(0) = 0, for if n <= 1 , Return n. If the argument passed to the function is not equal to…