Solution Review: Finding Fibonacci Numbers with Slices
This lesson discusses the solution to the challenge given in the previous lesson.
We'll cover the following...
We'll cover the following...
In the code above, look at the header of the function fibarray at line 11, which takes term as the input and returns the Fibonacci sequence until term in an array of type int. We make ...