I have just started studying C++ and am trying to write an interactive C++ program. The program should be a form of supermarket receipt. The format/sample is given below
CASH 20000
ITEM(S) PRICE
Soap 2000
beef 3000
cake 1500
book 2000
Bags 4000
CHANGE 7500
I have tried my best but i couldn't produce the right code. please any form of assistance highly appreciated