David Chong

Greenhorn
+ Follow
since Oct 03, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by David Chong

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.
17 years ago