Question: (Calculating Sales) An online retailer sells five different products whose retail prices are shown in the following table:
Product number Retail Price
1 $ 2.98
2 $ 4.50
3 $ 9.98
4 $ 4.49
5 $ 6.87
Write a program that reads a series of pairs of numbers as follows:
a) Product number
b) Quantity sold for one day
Your program should use a switch statement to help determine the retail price for each product. Your program should calculate and display the total retail value of all products sold last week.