in reply to Data Structures Help

Where does the "quantity" column come from in your output? I don't see that in the input text file anywhere? Once I have a full picture of the input and output it will be easier to make a recommendation.