Question: Please help, C++ please. You must write a program to ask the user to input a size of the list to generate. The program will

Please help, C++ please.

Please help, C++ please. You must write a program to ask the

You must write a program to ask the user to input a size of the list to generate. The program will not allow a size to be less than 2 . The program must give appropriate feedback to the user if the size entered is less than 2 and allow them to try again. Once the program is give the size n from the user, the program must generate a list of Fibonacci numbers of that size. Sample: Please enter the size of the Fibonacci sequence: 8 {1,1,2,3,5,8,13,21} Sample 2: Please enter the size of the Fibonacci sequence: 1 That is invalid, please try a number greater or equal to 2

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!