Question: Create Restaurant Java Programming Using Array List: You will use cases to enter data and inside of the case 1 you should have choices using
Create Restaurant Java Programming Using Array List:
You will use cases to enter data and inside of the case 1 you should have choices using
if - else conditions.
If you press 1 then it will ask choose from the menu:
Menu Option:
0. Order Number
1. Enter Appetizer
2. Enter Meal
3. Enter Drink
4. Enter Dessert
5. Display Total
Basically it will ask in case 1:
System.out.println("Enter your choice: ");
int option = scan.nextInt();
if(option == 1){
enterApp();
displayFood();
}
else if (option == 2){
enterMeal();
displayFood();
}
.....
Step by Step Solution
There are 3 Steps involved in it
Heres a basic Java program for a restaurant using ArrayList import javautilArrayList import javautil... View full answer
Get step-by-step solutions from verified subject matter experts
