Output
Output of the lab assignment should look something like this.
Enter sales person number (-1 to end):1
Enter product number:4
Enter sales amount:1082
Enter sales person number (-1 to end):2
Enter product number:3
Enter sales amount:998
Enter sales person number (-1 to end):3
Enter product number:1
Enter sales amount:678
Enter sales person number (-1 to end):4
Enter product number:1
Enter sales amount:1554
Enter sales person number (-1 to end):-1
Product Salesperson 1 Salesperson 2 Salesperson 3 Salesperson 4 Total
- 0.00 0.00 678.00 1554.00 2232.00
- 0.00 0.00 0.00 0.00 0.00
- 0.00 998.00 0.00 0.00 998.00
- 1082.00 0.00 0.00 0.00 1082.00
- 0.00 0.00 0.00 0.00 0.00
Total 1082.00 998.00 678.00 1554.00
Uh..Yah the data is supposed to be nicely tabbed but it doesn't show on here All you need to know that it should be :)