Print out the cost of each item before printing out the total cost.