Compute the total dollar sales for salesperson


Discuss the below:

Q: A company has a product line that includes five items that sell for $100, $75, $120, $150, and $35. There are four salespersons working for this company, and the following report is for a given week:

Salesperson

Item Number

1 2 3 4 5

1 10 4 5 6 7
2 7 0 12 1 3
3 4 9 5 0 8
4 3 2 1 5 6

Write a program to:

-Compute the total dollar sales for each salesperson.

-Compute the total commission for each salesperson if the commission rate is 10 percent.

-Find the total income for each salesperson for the week if each salesperson receives a fixed salary of $500 per week in addition to commission payments.

Solution Preview :

Prepared by a verified Expert
Data Structure & Algorithms: Compute the total dollar sales for salesperson
Reference No:- TGS01931969

Now Priced at $20 (50% Discount)

Recommended (97%)

Rated (4.9/5)