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
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.

Sales Amount Commission Rate 8 percent s0.01-S5,000 10 percent S5,000.01-S10,000 12 percent $10,000.01 and above
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
Financial application to find the sales amount usercanenter the COMMISSIONSOUGHT use for loop Needed ... View full answer
Get step-by-step solutions from verified subject matter experts
