Here is my problem, if you run the program(using piping), it should output the followings:
=========================
PHANTOM COMPANY INVOICE
PRODUCT ID QUANTITY PRICE ($) COST ($)
P010001 2 24.99 49.98
DVD-player5 1 58.95 58.95
P010002 20 8.85 177.00
...
TOTAL COST = $xxxxx.xx
my invoice is not the same as the output, I know that there is something wrong with my code, but just can't figure it out!
I know this sounds dull, I just starting to learn c++ and I would be appreciated, If someone
could help me figure out what's wrong.