aspose file tools
The moose likes Java in General and the fly likes test Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Java in General
Bookmark "test" Watch "test" New topic


stacey jones

Joined: Oct 19, 2002
Posts: 1
A mail-Order house sells five different products whose retail price for each product are as follows: product 1, $2.98;product2, $4.50;product3,$9.98;product4,4.49;product5,$6.87. Write an application that reads a series of pairs of numbers as follows:a) product number b) quantity sold for one day.
Your program should use a switch structure to help determine the retail price for each product. It should calculate and display the total retail value of all products sold last week. Use TextField to obtain the product number from the user. Use a sentinel-controlled loop to determine when the program should stop looping and display the final results.. HELP
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch!
So, what have you thought of so far in order to begin to solve this problem?

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: test