Create a console application in Visual Studio Use Rectangular array to solve thi
ID: 3538873 • Letter: C
Question
Create a console application in Visual Studio
Use Rectangular array to solve this problem.
A company has 3 sales people (1-3) who sells 5 different products (1-5). Write a program that will read all the information for last month%u2019s sales and summarize the total sales by each sales person and by each product. The monthly sales is stored in a rectangular array sales [3,5] with each row represents a sales person and each column represents a product. Display the tabular array with sales for each sales person and each product and the total sales for each sales person and each product.
Explanation / Answer
using System; public class RectArray { public static void Main() { double[,] sales=new double[3,5]; for(int i=0;iRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.