Write an application reads a series of pairs of numbers


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.

 

 

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write an application reads a series of pairs of numbers
Reference No:- TGS01934831

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)