Personal tools
You are here: Home Comp 170 Introduction to OOP Lab Materials Lab 10 Output
Document Actions

Output

by Mit Patel last modified 2006-03-28 04:33 PM

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

  1. 0.00 0.00 678.00 1554.00 2232.00
  2. 0.00 0.00 0.00 0.00 0.00
  3. 0.00 998.00 0.00 0.00 998.00
  4. 1082.00 0.00 0.00 0.00 1082.00
  5. 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 :)

« July 2022 »
Su Mo Tu We Th Fr Sa
12
3456789
10111213141516
17181920212223
24252627282930
31
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: