Sale!

An online retailer sells five different products whose retail prices are shown in the following…

Original price was: $10.00.Current price is: $5.00.

-50%

Download button will appear immediately after successful payment.

Full support will be provided with necessary files installation.

Get impeccable customized solution within 24 hours, hassle-free.

(5 customer reviews)

Free worldwide shipping on all orders over $50

  • 30 days easy returns
  • Order yours before 2.30pm for same day dispatch
Guaranteed Safe Checkout

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…
$10.00 Original price was: $10.00.$5.00Current price is: $5.00.

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.