Question: Help with C++ program I must complete. I have to use the advanced 20 file, provided in the pictures and add the ability for the

Help with C++ program I must complete. I have to use the advanced 20 file, provided in the pictures and add the ability for the user to input values. I know how to do that stuff, I just don't know what values should be what when the user is entering info. I have attached the Advanced20 basic file and the question in the C++ book.

Help with C++ program I must complete. I have to use the

advanced 20 file, provided in the pictures and add the ability for

Exercises the program using the same data used to desk check the algorithrs c D d. t necessary. create a new project named Intermediate19 Project, and save it i the CppsiChap08 folder. Enter vo intermediate19.cpp. Also enter appropriate comments and any additional instructions required by the com save and then run the program. Test the program using the same data used to desk-check the program. r your C++ instructions into a source file named low the instructions for starting C++ and viewing the Advanced20.cpp file, which is folder. (Depending on your Ct + development tool, you may need to open the project 20 Fotined in either the CppsiChapo8 Advanced20 Project folder or the CppsCha solution file first.) Run the program, which displays five rows of asterisks. Close the Command Prompt window b. ment values. The ending value determines the maximum number of asterisks to display. The increment value determines the number of asterisks to repeat Save and then run the program. Test the program by entering the numbers 4 and I as the maximum number of asterisks and the number of asterisks to repeat, respec- tively. The program should display four rows of asterisks as follows: one asterisk, two asterisks, three asterisks, and four asterisks. Run the program again. This time, enter the numbers 9 and 3 as the maximum c. d. mber of asterisks and the number of asterisks to repeat, respectively. The pro- gram should display three rows of asterisks as follows: three asterisks, six asterislks and nine asterisks. Run the program again. Enter 7 and 3 as the maximum number of asterisks and the number of asterisks to repeat, respectively. The program displays only two rows of asterisks. The first row contains the expected three asterisks, but the second row contains six asterisks rather than seven asterisks. This is because the maximum number of asterisks (7) is not evenly divisible by the number of asterisks to repeat (3). Modify the program so that it displays the asterisks only when the maximum number is evenly divisible by the number to repeat; otherwise, display the message "The maximum number must be evenly divisible by the number to repeat." nu e. f Save and then run the program. Test the program three times, using the data from Steps c, d, and e Create a program that displays movie ratings in a bar chart, similar to the one shown in Figure 8-28. If necessary, create a new project named Advanced21 Project, and save it in the Cpp8iChap08 folder. Enter your C++ instructions into a source file named Advanced21.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Save and then run the program. Test the program appropriately 21

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!