Hi
I am a student learning java
This is what i am required to do
A company sells five products Product 1, $2.98; product 2, $4.50;
product 3, $9.98; product 4, $4.49 and product 5, $6.87. Write an application that reads a series of pairs of numbers as follows:
a) product number
b) quantity sold
use a switch statement to determine the retail price for each product. It should calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the program should stop looping and display the final results
Here is my code
am i on the right track
[edit: PMc added code tags and fiddled with spacing]
[ March 27, 2006: Message edited by: Pauline McNamara ]