Question: may I get help with problem 1 ASSIGNMENT -5 Problem - 1: The Fibonacci sequence is 10, 1, 1, 2, 3, 5, 8, 13.,...... .;,

may I get help with problem 1

may I get help with problem 1 ASSIGNMENT -5 Problem - 1:

ASSIGNMENT -5 Problem - 1: The Fibonacci sequence is 10, 1, 1, 2, 3, 5, 8, 13.,...... .;, with the first two terms are 0 and 1, and each term thereafter is the sum of the two preceding terms i.e. Fib[n] = Fib[n-1] + Fib[n-2]. a. Using this information, write a C++ program that calculates the n numbers in a Fibonacci se- quence, where the user enters n in the prograrn interactively. For example, if n = 7, the program 7 Points should displays all the numbers from 0 to 8, in an output file. b. Draw a detailed flow chart on how this program is being designed, indicating the necessary inputs outputs and the algorithm you have used. The flow chart should be included as a document file 5 Points along with your program listing (source code). Problem 2: Modify the C++ program Lec15-5.cpp to show the the number of occurrences of each letter along with the total number of letters and numbers read from a standard text file. You may use any generic text file. In a document file, prepare a help section that shows the sample text file, and the number of occurrences of each letter, and number. 8 Points e o

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!