I am a first year student who only knows common codes. I have created a simple cashier program wherein you will only type the number assigned to your order (used of arrays) and calculate the total of the orders,change etc. It was all clear on that part but I am struggling in my receipt section.
I can't review the summary of the orders. I managed to display the name of the items by doing this... Fstring+=itemsN[0] then at receipt, the code is cout<<Fstring; .
But in the quantity and total of each item, I can't think of a code to display it. Is there any way to solve it?

It would be easier for us to help if you share the code you have .

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.