Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

Students also viewed these Databases questions

Question

hello world android project

Answered: 1 week ago