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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here