Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Implement a program for C so that when the program starts, it should be able to immediately display the menu. Afterward, ask: Hi

1.Implement a program for C so that when the program starts, it should be able to immediately display the menu. Afterward, ask: Hi! Whats your order?
2.The User should be able to enter the drink as stated in the first column of the whole menu.
3. Afterward, they could select the size: (1) Tall, (2) Grande, (3) Venti
4. If it is one of the espresso beverages, the user should be able to enter whether it is hot or iced.
5. If it is one of the frappuccinos (i.e. blended coffee or cream), the user should be asked whether they would avail of any add-on/Substitute.
6. It should also be able to ask the quantity of each order.
7. It should keep asking for orders until the user entered done. Afterward, it should be able to display the summary of the order. The summary should be able to display the ff: beverage, quantity, subtotal, and grand total.
8. The system should have the capacity to order every product displayed on the screenshot of varying sizes and add-ons (if applicable).
The system uses the menu:
ESPRESSO & MORE
Espresso Beverages Tall Grande Venti
Caffe Americano 130145160
Cappuccino 140155170
Caffe Latte 140155170
Caffe Mocha 165180195
Caramel Macchiato 165180195
Flat White 165180195
White Chocolate Mocha 165180195
Espresso 120130
Cold Coffee Craft
Cold Brew 150165180
Vanilla Sweet Cream Cold Brew 165180195
Cold Foam Iced Espresso 165180195
Chocolate
Signature Hot Chocolate 150165180
White Hot Chocolate 150165180
Sample Walkthrough
Hi! What's your order? Cappuccino
How many? 1
What size? Grande
Is it hot or Iced? Iced
Anything Else? Java Chip
How Many? 1
What size? Venti
Any Add-ons/Substitute? Extra Shot
Anything Else? Done
Item
Price
Quantity
Subtotal
Cappuccino Iced Grande
155
Java Chip
1
155
200
Extra Shot
Note: The console should output exactly the same as the sample walkthrough.

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago