Question: Design and implement a Java program that creates a GUI that will take the orders of customers at a local restaurant. The GUI should allow
Design and implement a Java program that creates a GUI that will take the orders of customers at a local restaurant. The GUI should allow the user to input the following information: Customer name Table Number Meal (The following items can be ordered burger, pizza, sub, or sandwich) Side Dishes (The following items can be ordered french fries, coleslaw, potato salad or salad) Drinks (The following items can be ordered soda, tea, coffee or juice) Dessert (The following items can be ordered ice cream, pie, cake, cookies) The costs of the above items are as follows: burger $6 pizza $12 sub $8 sandwich $9 french fries $5.50 coleslaw $4.50 potato salad $4.50 salad $6.50 soda $3 tea $2 coffee $2.50 juice $1.50 ice cream $3.00 pie $3.50 cake $4.00 cookies $2.50 Once the order is placed the system should display the customer's the bill. Make sure error checking is done on all input. If an error is found the customer should be notified and allowed to re-enter data.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
