OMG. I missed 2 classes and I'm stuck with this. Here's what my lecturer gave me. SMS(Save my soul)!
A mail order house sells five different products with different retail prices. 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 and calculate and display the total retail value for all products sold last week. Uses sentinel-control loop to determine when the program should stop looping and display the final result.
I thank anybody who helped me in advance.