The program output might look something like this (using the SDrinkList class)):
The sdrinks have been added:
The sdrinks have been added:
PS021, PEPSI,175.00
PS021, PEPSI, 175.00
MD033, MIRINDA, 168.00
MD033, MIRINDA, 168.00
SP005, SCHWEPPES, 220.00
SP005, SCHWEPPES,220.00
2C017,COCA-COLA,218.00
2C017,COCA-COLA,218.00
MD020, MIRINDA, 185.00
MD020, MIRINDA, 185.00
Add a new SDrinks:
Add a new SDrinks:
Enter code:MD055
Enter code:MD055
Enter make: Mirinda
Enter make:7-Up
Enter price:152.000
Enter price:100.05
1.Test getSDrinkByMake
1.Test getSDrinkByMake
2.Test getSDrinkWithMinPrice
2.Test getSDrinkWithMinPrice
Enter TC(1/2):1
Enter TC(1/2):2
Enter make:mirinda
OUTPUT:
OUTPUT:
3
MD055,7-UP,100.05
Zoom
+ 100%
Close