Project 1: Create a java project called TableOrder that makes an order for table in a restaurant based on the user request. Finally, the detailed order information and total cost will be displayed in appropriate format. Detailed explanation is given below: • Basic paid-amount for each person is 10 SR; • Each person may choose Breakfast, Pastries and Drink; 1. Ask the user to enter the number of persons : 2. For each person, ask the user to choose Breakfast: Please choose your Breakfast 1. The Standard 2. Egg Muffin 35 SR 40 SR 3. For each person, ask the user to choose Pastries: Please choose your Pastries 1. Assorted Bagels 2. Assorted Muffins 15 SR 20 SR 3. Butter Croissant 12 SR 14 SR 4. Chocolate Croissant 4. For each person, ask the user to choose Drink: Please choose your Drink 1. Black Coffee 2. Tea 3. Hot Chocolate 15 SR 12 SR 15 SR 4. Cappuccino 15 SR Finally display the order details and the due amount, note that 15% tax will be added The program menu should be clear to the user. The user input values should be validated and checked.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
i need the answer quickly
Project 1:
Create a java project called TableOrder that makes an order for table in a restaurant based on the user
request. Finally, the detailed order information and total cost will be displayed in appropriate format.
Detailed explanation is given below:
• Basic paid-amount for each person is 10 SR;
• Each person may choose Breakfast, Pastries and Drink;
1. Ask the user to enter the number of persons:
2. For each person, ask the user to choose Breakfast:
Please choose your Breakfast
1. The Standard
2. Egg Muffin
35 SR
40 SR
3. For each person, ask the user to choose Pastries:
Please choose your Pastries
1. Assorted Bagels
2. Assorted Muffins
3. Butter Croissant
4. Chocolate Croissant
15 SR
20 SR
12 SR
14 SR
4. For each person, ask the user to choose Drink:
Please choose your Drink
1. Black Coffee
2. Tea
15 SR
12 SR
3. Hot Chocolate
15 SR
4. Cappuccino
15 SR
Finally display the order details and the due amount, note that 15% tax will be added
The program menu should be clear to the user.
• The user input values should be validated and checked.
Transcribed Image Text:Project 1: Create a java project called TableOrder that makes an order for table in a restaurant based on the user request. Finally, the detailed order information and total cost will be displayed in appropriate format. Detailed explanation is given below: • Basic paid-amount for each person is 10 SR; • Each person may choose Breakfast, Pastries and Drink; 1. Ask the user to enter the number of persons: 2. For each person, ask the user to choose Breakfast: Please choose your Breakfast 1. The Standard 2. Egg Muffin 35 SR 40 SR 3. For each person, ask the user to choose Pastries: Please choose your Pastries 1. Assorted Bagels 2. Assorted Muffins 3. Butter Croissant 4. Chocolate Croissant 15 SR 20 SR 12 SR 14 SR 4. For each person, ask the user to choose Drink: Please choose your Drink 1. Black Coffee 2. Tea 15 SR 12 SR 3. Hot Chocolate 15 SR 4. Cappuccino 15 SR Finally display the order details and the due amount, note that 15% tax will be added The program menu should be clear to the user. • The user input values should be validated and checked.
Expert Solution
steps

Step by step

Solved in 8 steps with 6 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY