Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Proram must be written in C++, in clear steps. PLEASE NOTHING ADVANCED, nothing more than what is asked in the question. PLEASE TAKE A

Note: Proram must be written in C++, in clear steps. PLEASE NOTHING ADVANCED, nothing more than what is asked in the question. PLEASE TAKE A LOOK AT THE EXAMPLE PROGRAM MENTINOED IN THE QUESTION FIRST. SO YOU COULD SEE THE LEVEL. IT'S IN THE BOTTOM.

Thank you.

image text in transcribed

image text in transcribed

6. Sales Calculator: A store has 4 products. Using a switch statement within a do while loop (se the coffee drink program in the Week 5 notes for an example), let the user choose a product by entering a number 1 through 4. Keep track of how many of each product are sold. After the user is done making selections, output the number sold and sales total for each product. Include a screenshot of your output. (30 points) The actual product names and prices are up to you, but for example, if the products had these prices Product 1: $ 4.99 Product 2: $ 7.99 Product 3: $10.99 Product 4: $19.99 the output of the program would be similar to this. Total 9.98 7.99 32.97 39.98 Product #Sold 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions