Explore BrainMass

How to generate a report of sales commissions and income

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:


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 Summary

Demonstrates how to use Arrays in C, to calculate detailed report of sales activities and income generated by each salesperson in a company. The company offers the salesperson a commission as well as a fixed salary for a successful product sale.
The program shows how to
a) Compute the total dollar sales,
b) Compute the total commission
c) Compute the total income of each salespersons including commission and fixed salary