Write a program that prompts a salesman to enter his-her


At ACME Hammers, Inc., salesmen are paid a commission based on two different factors: whether they are full or part-time, and of course on how much they sell. Part-time salesmen are paid a simple commission on all amounts sold; however, full time salesmen earn a commission that varies based on the amount of sales.

SPECIFIC DIRECTIONS

Write a program that prompts a salesman to enter his/her status and total sales. Compute/display the following: their status; total sales; commission rate applied; the commission ($) earned (the appropriate rate times the sales); and the value of total sales minus commission (basically the company's profit from their work).

The following table details the commission rate paid based on status and total sales:

STATUS*                              TOTAL SALES ($)                   RATE (%)

         P                                     Any amount                                    3.5

         F                                     Below 10,000.00                              5

         F                                     10,000.00 & above                        7.5

(*P:  part-time; F:  full-time)

(Note: if you don't sense the need for a loop in this program, your senses are correct: a loop is not required. You will be looping in the final exam, though)

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that prompts a salesman to enter his-her
Reference No:- TGS01115709

Expected delivery within 24 Hours