help please!

hahaha I'm first year programming and have missed a few days of class...can someone help me with this assinment....

Write a program to produce an invoice report for Widget Mfg. Company.
Input User is asked to enter product code and quantity for an unknown number of products. Continue
accepting data until ^Z is entered for the product code.
Processing Calculate the amount due as (unit price x quantity)
Accumulate the total amount due
The company only sells 3 products. The unit price is shown in the following table:
Product Code Unit Price
Z3430 17.50
44-343 26.55
ABC 123 18.00

i just cant get how to use if, nested ifs and while loops to ,make this work...

thanx
Best if you just study a C++ tutorial or 2. Here's one: http://cplusplus.com/doc/tutorial/ .

This forum's members have a no homeworks policy, at least not entire homeworks. If you have a very specific question about a very specific topic, feel free to ask, but don't ask for entire code.
Topic archived. No new replies allowed.