For the assignment.
Write a FORTRAN program that will take an integer input and return the first Fibonacci number that has the specified number of digits. Fibonacci numbers are a series of numbers where each number is the sum of the previous two numbers. The first Fibonacci numbers are: 1, 1, 2, 3, 5, 8, 13â€¦ From this, we can see that the first Fibonacci number with two digits is 13. Therefore, if the program is given an input of 2, it should output 13.
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlinesOrder Paper Now
For larger numbers, the program does not need to display the entire number, but must display at least the ten most significant digits in scientific notation (e.g. 1.234567890E+50 or 0.1234567890E+50). Do not worry if FORTRAN does not display the E in E+##. The program must be able to return accurate answers for any input in the range 1 to 300.
Write your code in a file in the Code folder with a .f extension