Question: in java Save the file as MikeyMeals.java. Mikey Meals is a business that serves basic meals at lunch time outside of a house mikey offers

in java Save the file as MikeyMeals.java.
Mikey Meals is a business that serves basic meals at lunch time outside of a house mikey offers these options:
Slice of pizza with a drink ($5.00)
Slice of pizza with a bag of chips and a drink ($6.25)
Hot dog with a drink ($3.00)
Hot dog with a bag of chips and a drink ($4.50)
Drink only ($1.00)
Create a simple ordering system that outputs the menu and prompts the user to enter the number of their selection. Next, prompt them to enter the amount they wish to tip. Finally calculate the total cost by adding 8.2% sales tax to the price and then adding the tip; output a receipt similar to the sample below:
Sample Result:
Welcome to Mikeys Meals
Menu:
1. Slice of pizza with a drink ($5.00)
2. Slice of pizza with a bag of chips and a drink ($6.25)
3. Hot dog with a drink ($3.00)
4. Hot dog with a bag of chips and a drink ($4.50)
5. Drink only ($1.00)
Enter the number of your selection: 1
Enter the amount of your tip: 2.00
Subtotal: $5.0
Tax: $0.41
Tip: $2.0
Total: $7.41

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!