If necessary, create a new project named Advanced28 Project and save it in the Cpp8Chap11 folder. Also

Question:

If necessary, create a new project named Advanced28 Project and save it in the Cpp8\Chap11 folder. Also create a new source file named Advanced28.cpp. The program should declare a 20-element, one-dimensional int array named commission. Assign the following 20 numbers to the array: 300, 500, 200, 150, 600, 750, 900, 150, 100, 200, 250, 650, 300, 750, 800, 350, 250, 150, 100, and 300. The program should prompt the user to enter a commission amount from 0 through 1000. It then should display the number of salespeople who earned that commission. Use a sentinel value to end the program. Use the application to answer the following questions: 

a. How many salespeople earned a commission of 100? 

b. How many salespeople earned a commission of 300? 

c. How many salespeople earned a commission of 50? 

d. How many salespeople earned a commission of 900?

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

Step by Step Answer:

Question Posted: