Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Print the name of the restaurant at the top. Print the following menu for Brampton Hamburgers: Type of Burger Price 1. Veggie Burger $5.95 2.
- Print the name of the restaurant at the top.
- Print the following menu for Brampton 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 |
- Ask the user to select the items from the menu using numbers (1 to 8).
- Throw an exception if the customer is selecting any other option apart from 1 to 8 OR not selecting any option.
- Ask the quantity after each item is selected.
- Once the selection is done, the user needs to press 8.
- Find the total price after multiplying the quantity of items with their individual price.
- Add 13% tax to the total amount.
- If the bill is more than $50, then apply a 5% discount to the user's order.
- If the bill is more than $100, then apply a 10% discount to the user's order.
- Take the order from 5 different customers using loops.
- Print the total billing amount.
Submit your Lab 1 assignment to this assignment submission folder.
Refer to this rubric for the detailed evaluation breakdown.
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