Question: MUST BE IN JAVA (ENTRY LEVEL JAVA NOT ADVANCED) TEXT FILES: MENU.TXT A1 Bruschetta 5.29 A2 Caprese_Flatbread 6.10 A3 Artichoke-Spinach_Dip 3.99 A4 Lasagna_Fritta 4.99 A5
MUST BE IN JAVA (ENTRY LEVEL JAVA NOT ADVANCED)


TEXT FILES:
MENU.TXT
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
TABLES.TXT
1 2 2 4 3 2 4 2 5 2 6 4 7 6 8 10 9 2 10 4 11 4 12 4 13 4 14 2 15 2 16 2 17 2 18 2 50 20
This project is due in 2 phases: Complete all classes and reading files due Thursday, November 15 Processing user input & perfecting the program due Thursday, November 29 This assignment mimics the configuration and the activities happen at a typical restaurant. Configuration file tables.txt contains the table information & menu.txt contains the full menu list (sample files have been attached) We will use the following classes to complete this assignment. Feel free to add more variables if needed. Avoid making drastic changes to existing variables. You need to define the classes and implement all the .java files including class implementation and the overall application functionality Table : status, # of max seats, # of guests if a party is seated, order if the party has ordered MenuItem: itemCode, name, price Menu: array of Menultems Order: a list of menu items ordered at a table Read the configuration file and create the necessary objects / array of objects, then proceed to read the activities from the user and process them one at a time. Do not use any advanced data structures that have not been covered in the class Here is some sample input & output to capture the functionality of the program: 1 P2 Party of 2 assigned to Table 1 2 P10 Sorry, max 4 seats in Table 2! 2 P4 Party of 4 assigned to Table 2 1 O A1 A1 B1 No item with code B1 2 items ordered for Table 1 1 P1 Table 1 already occupied! 8 P10 Party of 10 assigned to Table 8 1 C Food not served for Table 1 yet! Order not placed at Table 2 yet! Food served in table 1 1 O E1 E2 D1 3 additional items ordered for Table 1 3 P2 Party of 2 assigned to Table 3 Food served in table 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
