Question
Asked by:
$20.00 C++ Switch Statement
- From Computer-Science: Object-Oriented-Programming
- Closed, but you can still post tutorials
- Due on Nov. 02, 2008
- Asked on Nov. 02, 2008 at 08:51:58AM
Q:A mail order house sells five different products whose retail prices are: product 1 - $2.98, product 2- $4.50, product 3-$9.98, product 4-$4.49 and product 5-$6.87. Write a program that reads a series of pairs of numbers as follows:
1. product number
2. quantity sold
The program should include a statement to determine the retail price for each product. The program should calculate and display the total retail value of all products sold. Use a sentinel-controlled poop to determine when the program should stop looping and display the final results.



