Question: This needs to be in the c++ language if you can help me out i would appriciate it very much. thank you. Select snack items
This needs to be in the c++ language if you can help me out i would appriciate it very much. thank you.
Select snack items according to the menu provided below. a) Display a menu.
1) Chips
2) Gummies
3) Pretzels
0) Exit (Zero to exit)
b) Request one integer for a snack item.
c) Validate the input value.
d) Handle the menu with a switch statement or if/else to display the price based on the following:
1) Chips - $1.50
2) Gummies - $1.25
3) Pretzels - $1.00
e) End the program only if Exit option is selected.
f) Display the total amount of lunch items ordered in the transaction.
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
