Answered step by step
Verified Expert Solution
Link Copied!

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.

  1. Print the name of the restaurant at the top.
  2. 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
  1. Ask the user to select the items from the menu using numbers (1 to 8).
  2. Throw an exception if the customer is selecting any other option apart from 1 to 8 OR not selecting any option.
  3. Ask the quantity after each item is selected.
  4. Once the selection is done, the user needs to press 8.
  5. Find the total price after multiplying the quantity of items with their individual price.
  6. Add 13% tax to the total amount.
  7. If the bill is more than $50, then apply a 5% discount to the user's order.
  8. If the bill is more than $100, then apply a 10% discount to the user's order.
  9. Take the order from 5 different customers using loops.
  10. 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

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_2

Step: 3

blur-text-image_3

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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions