Question: (E) [35 points ] NOT RELEVANT TO PART D. In this part of the project, write a function that will implement each Fibonacci number with
![(E) [35 points ] NOT RELEVANT TO PART D. In this](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3dbd1ddefb_55366f3dbd14c59e.jpg)
(E) [35 points ] NOT RELEVANT TO PART D. In this part of the project, write a function that will implement each Fibonacci number with the help of an integer array of size 100 (elements of this array will be digits of the Fibonacci number). When the function is called to find F(n), it will calculate all Fibonacci numbers from F(2) to F(n). using the basic formula F(n)= F(n1)+F(n2). To add two Fibonacci numbers, the function will add elements of two arrays corresponding to F(n1) and F(n2) and store their sums in the array corresponding to F(n). (You are NOT supposed to store ALL arrays.) Write a program that will calculate Fibonacci numbers using this approach. There is no input to this program, and the output should be the biggest Fibonacci number that has less than 100 digits. Also, the error message should be displayed when a Fibonacci number has 100 digits or more
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
