Program accepts the name and sales of a salesperson


Discuss the below:

Q: Write a c++ program that accepts the name and sales of a salesperson. Using an IF statement, determine the level and commission using the table below:

sales level commission
Below 15,000 "green" 0
15,000 to 25,000 "blue" 1,500 + 25% of sales that exceeds 15,000
Above 25,000 "red" 2,500 + 35% of sales that exceeds 25,000

Display name, sales, level and the commission of the salesperson.

 

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Program accepts the name and sales of a salesperson
Reference No:- TGS01937363

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)