The owner of Harry’s Car Sales pays each salesperson a commission based on his or her monthly sales. The sales ranges and corresponding commission rates are shown in Figure 6-49.
a. Create an IPO chart for the problem, and then desk-check the algorithm six times, using sales of 2500, 28500.35, 35678.99, 42300, 50000, and –3.
b. List the input, processing, and output items, as well as the algorithm, in a chart similar to the one shown earlier in Figure 6-47. Then code the algorithm into a program.
c. Desk-check the program using the same data used to desk-check the algorithm.
d. If necessary, create a new project named Introductory14 Project and save it in the Cpp7\Chap06 folder. Enter your C++ instructions into a source file named Introductory14.cpp. Also enter appropriate comments and any additional instructions required by the compiler. Display the commission in fixed-point notation with two decimal places.
e. Save and run the program. Test the program using the same data used to desk-check the program.
REFERENCE: FIGURE 6-47
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.