Revise your solution for problem 2 so that you display the total sales per salesman.
Place the first and last names for the salesmen in an array. Write your solution so
that any number of salesmen and any number of products can be displayed. 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.
Sorry the answer is not available at the moment…
If you are able to find the answer, please make sure to post it here. So that your Juniors have smile on their lips and feel happy.
Spread the 'tradition of sharing'.