If necessary, create a new project named Advanced27 Project, and save it in the Cpp8Chap07 folder. Enter

Question:

If necessary, create a new project named Advanced27 Project, and save it in the Cpp8\Chap07 folder. Enter the C++ instructions shown earlier in Figure 7-11 into a source file named Advanced27.cpp. Also enter appropriate comments and any additional instructions required by the compiler. When the user has finished entering the sales amounts, the program should display the number of sales amounts entered and the average commission. Save run, and test the program.

IPO chart information C++ instructions Input commission rate (20%) const double RATE int sales = 0; 0.2; sales Processing none Output double commission = 0.0; commission Algorithm 1. enter the sales cout « > sales; while (sales != -1) { commission =" style="" class="fr-fic fr-dib">

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: