Waived!

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

(5 customer reviews)

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

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.

View Details
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.
Instant
Download

Description

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.


You may also like…