Question
JAVA program a. Print the name of the restaurant at the top. b .Print the following menu for Hamilton Hamburgers: Type of Burger Price 1.
JAVA program
a. Print the name of the restaurant at the top.
b .Print the following menu for Hamilton Hamburgers:
Type of Burger Price
1. Veggie Burger $5.95
2. Deluxe Veggie Burger $7.95
3. Chicken Burger $6.45
4. Cheese Chicken Burger $8.50
5. Cheese Bacon Burger $9.25
6. Deluxe Bacon Burger $10.95
7. Healthy Organic Burger $12.45
8. Quit
c. Ask the user to select the items from the menu using numbers (1 to 8)
d. .Add an exception if the customer is selecting any other option apart from 1 to 8 OR not selecting any option.
e. Ask for the quantity after each item is selected.
f. Once the selection is done, the user needs to press 8 to quit.
g. Find the total price after multiplying each quantity by their price.
h. Add 13% tax to the total amount.
i. If the bill is more than $50, then apply a 5% discount to the users order.
j. If the bill is more than $100, then apply a 10% discount to the users order.
k. Take the order from 5 different customers using loops.
l. Print the total billing amount and take a screenshot for each 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