Question: (C++) A mail order house sells five different products whose retail prices are as follows: * product 1: $2.98 * product 2: $4.50 * product

(C++) A mail order house sells five different products whose retail prices are as follows:

* product 1: $2.98

* product 2: $4.50

* product 3: $9.98

* product 4: $4.49

* product 5: $6.87

Write a program that prompts the user to enter the product number and the quantity sold and keeps the running total of products sold until the user inputs -1 for the product number. In the end, the program will display the total retail value of all products sold.

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!