Question: 1 . Implement a program for C language so that when the program starts, it should be able to immediately display the menu. Afterward, ask:
Implement a program for C language 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
Code must output exactly the same as this Sample Walkthrough More details in the image
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
Follow up questions:
sizechoice and subtotal are undefined in lines and in the solution you provided.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
