Question
JAVA Lets make your own restaurant where clients can order a few items and then you calculate the total, total after tax and then ask
-
JAVA
-
Lets make your own restaurant where clients can order a few items and then you calculate the total, total after tax and then ask tip % and then add them all.
-
Document your code carefully. Your program output must be very similar to the sample output.
-
You need to make 2 methods to implement this.
-
public static double tip_calculator(int total)
-
public static int menu_recieved()
-
OUTPUT OF SAMPLE RUN
Welcome to Ilmi's restaurant
Here is our menu! 1. Bulgogi -- $15.00 2. Kalbi -- $18.00 3. Kimchi Fried Rice -- $16.00 Please choose one option at one time using the number (0 for the end of order): 1
Thank you for ordering Bulgogi Your total is 15
Here is our menu! 1. Bulgogi -- $15.00 2. Kalbi -- $18.00 3. Kimchi Fried Rice -- $16.00 Please choose one option at one time using the number (0 for the end of order):
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started