Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 2012 Proceedings Part 2 Lnai 7197

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284892, 978-3642284892

More Books

Students also viewed these Databases questions

Question

Describe the types of power that effective leaders employ

Answered: 1 week ago

Question

Describe how leadership styles should be adapted to the situation

Answered: 1 week ago