Rewrite Programming Exercise 5.39 as follows: ? Use a for loop instead of a do-while loop. ?

Question:

Rewrite Programming Exercise 5.39 as follows:

? Use a for loop instead of a do-while loop.

? Let the user enter COMMISSION_SOUGHT instead of fixing it as a constant.

You have just started a sales job in a department store. Your pay consists of a base salary and a commissions. The base salary is $5,000. The scheme shown below is used to determine the commission rate.

image

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

Step by Step Answer:

Question Posted: