Answered step by step
Verified Expert Solution
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
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?
The User should be able to enter the drink as stated in the first column of the whole menu.
Afterward, they could select the size: Tall, Grande, Venti
If it is one of the espresso beverages, the user should be able to enter whether it is hot or iced.
If it is one of the frappuccinos ie blended coffee or cream the user should be asked whether they would avail of any addonSubstitute
It should also be able to ask the quantity of each order.
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.
The system should have the capacity to order every product displayed on the screenshot of varying sizes and addons if applicable
The system uses the menu:
ESPRESSO & MORE
Espresso Beverages Tall Grande Venti
Caffe Americano
Cappuccino
Caffe Latte
Caffe Mocha
Caramel Macchiato
Flat White
White Chocolate Mocha
Espresso
Cold Coffee Craft
Cold Brew
Vanilla Sweet Cream Cold Brew
Cold Foam Iced Espresso
Chocolate
Signature Hot Chocolate
White Hot Chocolate
Sample Walkthrough
Hi What's your order? Cappuccino
How many?
What size? Grande
Is it hot or Iced? Iced
Anything Else? Java Chip
How Many?
What size? Venti
Any AddonsSubstitute Extra Shot
Anything Else? Done
Item
Price
Quantity
Subtotal
Cappuccino Iced Grande
Java Chip
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
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