How to generate a Car Sales Monthly Report using Arrays
Not what you're looking for?
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
Purchase this Solution
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
Purchase this Solution
Free BrainMass Quizzes
Javscript Basics
Quiz on basics of javascript programming language.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
Excel Introductory Quiz
This quiz tests your knowledge of basics of MS-Excel.