Question: 4) An online retailer sells five different product whose retail prices are product number ( Retail price) 1 ($ 2.98) 2 ($ 4.50) 3 ($
4) An online retailer sells five different product whose retail prices are product number ( Retail price) 1 ($ 2.98) 2 ($ 4.50) 3 ($ 9.98) 4 ($ 4.49) 5 ($ 6.87) Write a program should that reads a series of pairs of numbers as follows: 1- Product number 2- Quantity sold for one day the program should use (switch) statement to help determine the retail price for each product. the program should calculate and display the total retail value of all product sold last week.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
