Question: Java Eclipse: The following is the menu that needs to be hardcoded into 3 arrays one each for the code of the item, name of
Java Eclipse:
The following is the menu that needs to be hardcoded into 3 arrays one each for the code of the item, name of the item & price of the item.
Allow the user to enter the order for each table as a series of codes like A1 A1 E1 E2 S1. Your program should validate and compute the total amount for the table.(for above sequence, total amount will be 5.29+5.29+6.99+7.99+1.99)
A1 Bruschetta 5.29
A2 Caprese_Flatbread 6.10
A3 Artichoke-Spinach_Dip 3.99
A4 Lasagna_Fritta 4.99
A5 Mozzarella_Fonduta 5.99
E1 Lasagna_Classico 6.99
E2 Capellini_Pomodoro 7.99
E3 Eggplant_Parmigiana 8.99
E4 Fettuccine_Alfredo 7.49
E5 Tour_of_Italy 14.99
D1 Tiramisu 2.99
D2 Zeppoli 2.49
D3 Dolcini 3.49
S1 Soda 1.99
S2 Bella_Limonata 0.99
S3 Berry_Acqua_Fresca 2.88
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
