Mr. Manager wants you to process orders for the Fast Greasy Food Shop. His customers have a few choices in what they order. They can order a humburger for 1.00. If they want cheese it is an addition of .50 and if they want bacon the additional amount is .75. They can also order a small or large drink for 1.10 and 1.60 respectively and small or large French fries for 1.20 or 1.75 respectively. The user can only order one hamburger/drink/fries. Write a program which allows a customer to purchase any or all of the items above.
Your program should print out the total price of the purchase as well as the price of each individual item as in the example below. Be sure to only print the items that the user ordered. For instance, if they do not order a drink, do not give the prce for a drink.
Hamburger 1.00
Cheese .50
Large Fries 1.75
Small Drink 1.10
Total 4.35
Your program should print out the total price of the purchase as well as the price of each individual item as in the example below. Be sure to only print the items that the user ordered. For instance, if they do not order a drink, do not give the prce for a drink.
Hamburger 1.00
Cheese .50
Large Fries 1.75
Small Drink 1.10
Total 4.35