make sure when your program begins you display a description forthe user of what the 5121795

Make sure when your program begins you display a description forthe user of what the program will do. Problem:   TotalSales Use a two-dimensional array to solvethe following problem: A company has four salespeople (1 to4) who sell five different products (1 to 5). Once a day, eachsalesperson passes in a slip for each type of product sold. Eachslip contains the following: a)    Thesalesperson number (1 to 4) b)    The productnumber c)    The totaldollar value of the product (1 to 5) sold that day Thus, each salesperson passes inbetween 0 and 5 sales slips per day. Assume that the informationfrom all the slips for last month is available. Write anapplication that will read all this information for last month’ssales and summarize the total sales by salesperson and by product.All totals should be stored in the two-dimensional arraysales. Construct your 2 dimensional array so that you can use thesalesperson number (1 to 4) for the row index and the productnumber (1 to 5) for the column index. Hint: Use this declaration for yoursales array:   double sales[ ][ ] = new double[6][7]; Youuse these dimensions so you can avoid the use of element 0 in eachdimension, and also so that you have an additional element in eachdimension that can be used to store totals for the rows andcolumns After processing all the informationfor a month (all the records in the data file), display the resultsin tabular format, with each column representing a particularproduct and each row representing a particular salesperson.Cross-total each row to get the total sales foreach salesperson for the month. Cross-total eachcolumn to get the total sales for each product for themonth. Your tabular output should include these cross-totals to theright of the each row and to the underneath each of thecolumns.      Note:    I have provided aZIP file that includes the data file(assign05.txt), a Windows executable program thatyou can run to see an example of the output your program shouldproduce, and a                  RAPTOR program showing the logic to accumulate thedata for the report and file that must be used for thisassignment.                   Hereis a link to the ZIPfile:     GenerateSalesReport                   Hereis the layout for the data file:  salesperson    productnumber     total sales

                  salespersonand product number are integers, total sales is a real number (typedouble).       You may need to refer back to theinformation I posted on Strings and File Input/Output on my website. . . .

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now