Question: Need help with C++ problem! An online retailer sells five products whose retail prices are as follows: Product 1, $2.98 Product 2, $4.50 Product 3,

Need help with C++ problem!

An online retailer sells five products whose retail prices are as follows:

Product 1, $2.98

Product 2, $4.50

Product 3, $3.98

Product 4, $4.49

Product 5, $6.87

-Your program should read (from the keyboard) a series of pairs of numbers as follows:

product number

quantity sold

-Run your program from a simple menu with the following options

Enter products sold

Display total retail value

Exit

-Your program should

allow for entry of multiple products without returning to the main menu (use a sentinel-controlled loop)

use a switch statement to determine the retail price for each product

calculate and display the quantity and total retail value of each product sold

total and display the retail value of all products sold

*** use a switch for the menu

*** make 3 files, header, cpp, and main

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!