Input File: Order.txt Hannibal Lecter Suite B2 Chesapeake Institute Baltimore MD 21230 Number of items ordered: 15 Item Units Price ---------------------------------------------------------------- Chocolate Ice Cream, half gallon 1 5.49 Diet Pepsi, 6 pack 24 oz bottles 1 2.99 Chicken Wings, 10 oz 9 2.99 Red Kidney Bean 1 0.79 Lima Beans 15 oz 4 0.97 Chicken thighs 1 1.79 Lemon, medium 4 0.39 Beefsteak Tomato, 4 pack 7 4.49 Lime 2 0.59 Cut Green Beans 14.5 oz 1 0.75 Dr Pepper, 24 pack cans 8 6.99 Bagels, Natural Wheat, 6 pack 8 2.39 Cheddar Singles 12 oz 5 0.00 Bagels, Blueberry, 6 pack -6 2.39 Gala apples, 6 pack 8 4.49 Output File: Invoice.txt Correct Output Points Expected Output Ship to: 2 Name: Hannibal Lecter 2 Address: Suite B2 2 Chesapeake Institute 2 Baltimore, MD 21230 Item Units Price ---------------------------------------------------------------- 10 Chocolate Ice Cream, half gallon 1 5.49 4 Diet Pepsi, 6 pack 24 oz bottles 1 2.99 4 Chicken Wings, 10 oz 9 26.91 4 Red Kidney Bean 1 0.79 4 Lima Beans 15 oz 4 3.88 4 Chicken thighs 1 1.79 4 Lemon, medium 4 1.56 4 Beefsteak Tomato, 4 pack 7 31.43 4 Lime 2 1.18 4 Cut Green Beans 14.5 oz 1 0.75 4 Dr Pepper, 24 pack cans 8 55.92 4 Bagels, Natural Wheat, 6 pack 8 19.12 4 Gala apples, 6 pack 8 35.92 ---------------------------------------------------------------- 5 subtotal 187.73 20 discount 4.38 5 total 183.35 4 #units 55 Student Output Points Student Output Ship to: Name: Hannibal Lecter Address: Suite B2 Chesapeake Institute Baltimore, MD 21230 Item Units Price ---------------------------------------------------------------- Chocolate Ice Cream, half gallon 1 5.49 Diet Pepsi, 6 pack 24 oz bottles 1 2.99 Chicken Wings, 10 oz 9 26.91 Red Kidney Bean 1 0.79 Lima Beans 15 oz 4 3.88 Chicken thighs 1 1.79 Lemon, medium 4 1.56 Beefsteak Tomato, 4 pack 7 31.43 Lime 2 1.18 Cut Green Beans 14.5 oz 1 0.75 Dr Pepper, 24 pack cans 8 55.92 Bagels, Natural Wheat, 6 pack 8 19.12 Gala apples, 6 pack 8 35.92 ---------------------------------------------------------------- -5.00 subtotal-107374008.00 -20.00 discount-107374176.00 -2.50 total 168.00 #units 55