In this exercise, you modify the program from Computer Exercise 28. If necessary, create a new project

Question:

In this exercise, you modify the program from Computer Exercise 28. If necessary, create a new project named Advanced29 Project and save it in the Cpp8\Chap11 folder. Also create a new source file named Advanced29.cpp. Copy the C++ instructions from the Advanced28.cpp file into the Advanced29.cpp file. Change the filename in the first comment to Advanced29.cpp. Modify the program so that it prompts the user to enter a minimum commission amount and a maximum commission amount. Swap the amounts if the minimum amount is greater than the maximum amount. The program should display the number of salespeople who earned a commission within that range. Use a sentinel value to end the program. Save and then run the program. Use the program to answer the following questions. 

a. How many salespeople earned a commission from 100 through 300? 

b. How many salespeople earned a commission from 700 through 800? 

c. How many salespeople earned a commission from 0 through 200?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: