Program-total sales by salesperson of product in-2d array


Question 1) A company has four salespeople who sell five different products. At the end of the day, each salesperson reports products he/she sold as follows:

a) Sales person number,

b) The product number, and

c) total dollar value of that product sold.

Write a program that would read all these reports for last month’s sales and summarize total sales by salesperson by product. All totals must be stored in two dimensional array sales and print result in tabular format with each column representing a particular salesperson and each row representing a particular product. Cross total each row and column to get total sales by product and salesperson.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program-total sales by salesperson of product in-2d array
Reference No:- TGS04561

Expected delivery within 24 Hours