Discuss the below:
Q: A mail order house sells five different products whose retail prices are: product 1 - $150, product 2 - $250, product 3 - $500, product 4 - $300, and product 5 - $350.
Write an application that reads a series of pairs of numbers as follows:
a. product number
b. quantity sold for one day
The program should use switch structure to help determine the retail price for each product. The program should calculate and display the total retail value of all products sold last week.