Solution Cart

    Solution Donation Quantity Subtotal
× An online retailer sells five different products with the following retail prices: Product Number | Retail Price ---------------|------------- 1 | $x.xx 2 | $x.xx 3 | $x.xx 4 | $x.xx 5 | $x.xx Write a program that: a) Reads a series of pairs of numbers in the following format: 1. Product number 2. Quantity sold (positive value) b) Keeps asking the user for values until the user enters 0 as the product number. c) Calculates and prints out the retail value of all products sold in a day. d) Calculates and prints out the maximum sale transaction of the day, as well as the average sale transaction. An online retailer sells five different products whose retail prices are shown in the following... $5.00
$5.00