How to generate a Car Sales Monthly Report using Arrays
A certain auto dealership sells ten different models of autos and employs eight salespersons. A record of sales for each month can be represented by a table in which each row contains the number of sales of each model by a given salesperson and each column contains the number of sales by each salesperson for a given model. Write a program to produce a monthly sales report, displaying the monthly sales table in the form:
SALESPERSON
Model : 1 2 3 4 5 6 7 8 : Totals
1
2
3
4
5
6
7
8
9
10
Totals:
As indicated, the report should also display the total number of autos sold by each salesperson and the total number of each model sold by all salespersons
© BrainMass Inc. brainmass.com March 4, 2021, 6:09 pm ad1c9bdddfhttps://brainmass.com/computer-science/random-number-generation/how-to-generate-a-car-sales-monthly-report-using-arrays-31734
Solution Summary
Teaches how to generate monthly sales report of autos for an auto company. The input consists of a table containing information on the number of salespersons and the number of autos they have sold. The output