Starting from:

$25

add a drink, compute their total price, search a drink, list drinks, quit, display menu to a user.

The Assignment 5 class displays a menu of choices // (add a drink, compute their total price, search a drink, list drinks, // quit, display menu) to a user. // Then it performs the chosen task. It will keep asking a user to // enter the next choice until the choice of 'Q' (Quit) is // entered.// ArrayList object is used to store drink objects// calls drinkList array, passes parse method with input info, adding it to the drink list array// iterating over the size of the drinkList array, and computing for each individual drink//

More products