/Goodies

Primary LanguageJava

Goodies

Partners

  • Luke Tong
  • Steve Xing
  • JP K

Final Implementation

a.

Welcome to Goodies
        1. Use as Customer
        2. Use as Business Manager
        3. Exit

b.

What would you like to do?
        1. Increase quantity
        2. Decrease quantity
        3. Inventory
        4. Exit

c.

Displaying Inventory...
Name        Quantity  Cost    Sale Price
0. Chips          45      25      0.75 
1. Pop corn       45      22      0.75 
2. Pop Corners    45      22      0.75 
3. Cheeze it      45      18      0.75 
4. Gold Fish      45      18      0.75 
5. Oreo Cookies   45      30      0.75 
6. Fruit Snack    45      15      0.25 
7. Trail Mix      45      22      0.50 
8. Nutrigrain     45      31      0.50 
9. Peanut Bar     45      16      0.50 
10. Coke           45      18      1.25 
11. Sprite         45      17      1.25 
12. Sunkist        45      16      1.25 
13. Brisk          45      17      1.25 
14. Ginger Ale     45      21      1.25 
15. Water          45      22      1.00 
16. Capri Sun      45      15      0.75 
17. Ice cream      45      20      1.00 
18. Klondike Bars  45      15      1.25 
19. Italian Ice    45      10      1.25 
20. Ice pop        45      16      0.25 
What would you like to do?
        1. Increase quantity
        2. Decrease quantity
        3. Inventory
        4. Exit

d.

Welcome to Goodies
        1. Use as Customer
        2. Use as Business Manager
        3. Exit
1
Name          Sale Price
0. Chips          0.75 
1. Pop corn       0.75 
2. Pop Corners    0.75 
3. Cheeze it      0.75 
4. Gold Fish      0.75 
5. Oreo Cookies   0.75 
6. Fruit Snack    0.25 
7. Trail Mix      0.50 
8. Nutrigrain     0.50 
9. Peanut Bar     0.50 
10. Coke           1.25 
11. Sprite         1.25 
12. Sunkist        1.25 
13. Brisk          1.25 
14. Ginger Ale     1.25 
15. Water          1.00 
16. Capri Sun      0.75 
17. Ice cream      1.00 
18. Klondike Bars  1.25 
19. Italian Ice    1.25 
20. Ice pop        0.25 
What would you like to do?
        1. Purchase
        2. Proceed to checkout
        3. Exit

e.

What would you like to buy? Type the index number of your item:
2
How many would you like to purchase?
3
Purchasing 3 units of Pop Corners
This will add 2.25 to your total
Name          Sale Price
0. Chips          0.75 
1. Pop corn       0.75 
2. Pop Corners    0.75 
3. Cheeze it      0.75 
4. Gold Fish      0.75 
5. Oreo Cookies   0.75 
6. Fruit Snack    0.25 
7. Trail Mix      0.50 
8. Nutrigrain     0.50 
9. Peanut Bar     0.50 
10. Coke           1.25 
11. Sprite         1.25 
12. Sunkist        1.25 
13. Brisk          1.25 
14. Ginger Ale     1.25 
15. Water          1.00 
16. Capri Sun      0.75 
17. Ice cream      1.00 
18. Klondike Bars  1.25 
19. Italian Ice    1.25 
20. Ice pop        0.25 
What would you like to do?
        1. Purchase
        2. Proceed to checkout
        3. Exit
2
Proceeding to checkout
Your total is $2.25

f.

Welcome to Goodies
        1. Use as Customer
        2. Use as Business Manager
        3. Exit
2
What would you like to do?
        1. Increase quantity
        2. Decrease quantity
        3. Inventory
        4. Exit

g.

Displaying Inventory...
Name        Quantity  Cost    Sale Price
0. Chips          45      25      0.75 
1. Pop corn       45      22      0.75 
2. Pop Corners    42      22      0.75 
3. Cheeze it      45      18      0.75 
4. Gold Fish      45      18      0.75 
5. Oreo Cookies   45      30      0.75 
6. Fruit Snack    45      15      0.25 
7. Trail Mix      45      22      0.50 
8. Nutrigrain     45      31      0.50 
9. Peanut Bar     45      16      0.50 
10. Coke           45      18      1.25 
11. Sprite         45      17      1.25 
12. Sunkist        45      16      1.25 
13. Brisk          45      17      1.25 
14. Ginger Ale     45      21      1.25 
15. Water          45      22      1.00 
16. Capri Sun      45      15      0.75 
17. Ice cream      45      20      1.00 
18. Klondike Bars  45      15      1.25 
19. Italian Ice    45      10      1.25 
20. Ice pop        45      16      0.25 
What would you like to do?
        1. Increase quantity
        2. Decrease quantity
        3. Inventory
        4. Exit

h.

Welcome to Goodies
        1. Use as Customer
        2. Use as Business Manager
        3. Exit
3
Program shutting down...

i.