Question: Revise your solution for problem 2 so that you display the total sales per salesman. As with your solution for exercise #2, include the first

Revise your solution for problem 2 so that you display the total sales per salesman. As with your solution for exercise #2, include the first and last names for the salesmen in an array. When you display your final output, print the salesman’s last name only, sales for each product, and the final sales for the salesman. After you display the tables of sales, display the largest sales figure indicating which salesman sold it and which product was sold. For an added challenge, write your solution so that any number of salesmen and any number of products can be displayed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Systems Analysis Design Questions!