Design a solution that prints the amount of pay a


Design a solution that prints the amount of pay a commissioned salesperson takes home. The more sales documented, the larger the commission rate. Allow the user to input a total sales amount for the week. Compute the commission based on the following table. Display the pay amount formatted with commas, decimals, and a dollar symbol.

  • less than $ 1000: 3%
  • $ 1001-$ 5000: 5%
  • $ 5001-$ 10000: 6%
  • over $ 10000: 7%

Be sure to design your solution so that all possible situations are accounted for and tested. What values did you enter and test to verify your program's correctness?

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Design a solution that prints the amount of pay a
Reference No:- TGS01206139

Now Priced at $10 (50% Discount)

Recommended (97%)

Rated (4.9/5)