Receipt problems, how does it work?

Hey guys, I recently got an assignment to create a vending machine type system and then finish it with a receipt with every transaction someone has made like so.

Item Quantity Price
----------------------
2 4 10.00
4 2 6.00
----------------------

The only problem is I'm not exactly sure how to make it so that my receipt will call every single one you've done without erasing the last one. Any thoughts on how I can do this?
Topic archived. No new replies allowed.