(Financial application: find the sales amount) Rewrite Exercise 4.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.
REF:
(Financial application: find the sales amount) You have just started a sales job in a department store. Your pay consists of a base salary and a commission. The base salary is $5,000. The scheme shown below is used to determine the commission rate.
Your goal is to earn $30,000 a year. Write a program that finds out the minimum number of sales you have to generate in order to make $30,000.
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.