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
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