Purchase Solution

How to generate a Car Sales Monthly Report using Arrays

Not what you're looking for?

Ask Custom Question

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
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.

C# variables and classes

This quiz contains questions about C# classes and variables.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Basic Networking Questions

This quiz consists of some basic networking questions.