Question: Need a Visual Studio C++ code using simple looping technique A mail order house sells five different products whose product numbers and retail prices are:

 Need a Visual Studio C++ code using simple looping technique A

Need a Visual Studio C++ code using simple looping technique

A mail order house sells five different products whose product numbers and retail prices are: product 1-$2.98, product 2 - $4.50, product 3 - $9.98, product 4 -$4.49, product 5-$6.87 a) Write a program that reads a series of pairs of numbers (from user). That is, each time it reads the pairs of values as follows: i) product number ii) quantity of that product sold b) Your program should use a switch statement to determine the retail price for each product c) Your program should calculate and display the total retail value of all products sold d) Use a sentinel-controlled while loop so user can indicate when the program should stop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!