Im so lost in this C++ class I have a vague idea of what to do but am getting myself confused. If anyone would help me get started on doing this assignment I would greatly appreciate it. :sad:
Assignment:
A mail order house sells five different products whose retail prices are : product-1 $2.98, product2- $4.50, product3- $9.98, product4- $4.49, and product5- $6.87. Write a program that reads a series of pairs of numbers as follows:
a) product number
b) quantity sold
Your program should use a switch statement to determine the retail price for each product. Your program should calculate and display the total calue of all products sold. Use a sentinel-controlled loop to determine when the program should stop looping and display the final results.
I have completley no idea how to even start writing this program if anyone could please help me I would appreciate it.
thnx