Question: Write a program for a fast food restaurant cash register that lets a customer order a meal. At each step print out a question for

 Write a program for a fast food restaurant cash register that

lets a customer order a meal. At each step print out a

Write a program for a fast food restaurant cash register that lets a customer order a meal. At each step print out a question for the user and use an input() statement to get their answer. 1. Ask for their choice of sandwich print: Please select a Burger [1,2,3]: #this means the user will enter the number 1, or 2, or 3 and then press enter. [have the user will select 1 for] McStandard (1 patty) cost is $3.45 [select 2 for] McGordo (2 patties) cost is $5.24 (or select 3 for] McChonk (3 patties) cost is $6.95 2. Ask the user if they would like cheese on their sandwich print: Add cheese to the burger? [Y/N]: #this means the user will enter the letter Yor N and then press enter. and then get input from user for cheese add $1.23 to the cost 3. Ask the user if they would like the upgraded meal package print: Would you like a Combo? [Y/N] If the users answer is yes: print: What size? [S,M,L] # If the answer to 'Combo' was no, skip this question I get input from user Calculate the cost for the combo based on these added costs. . for a Medium combo add $2.76 for a Large combo add $3.89 4. Calculate the total cost of the meal and with tax. Start with the cost of the chosen sandwich Add the cost of cheese, or not Add the cost of which upgrade was selected (none, Medium, Large) Calculate tax at 9.5% tax rate. 5. Print out a nice looking receipt. Welcome to McTofuButterBurger 5. Print out a nice looking receipt. Welcome to McTofuButterBurger Menu: 1 McStandard (1 patty) 2 - McGordo (2 pattys) 3 - McChonk (3 pattys) Please select a Burger [1,2,3] 2 Add cheese to the burger? [Y/N] Y Would you like a Combo? [Y/N] Y What size? [ML] L Your Order: McGordo burger with cheese Large combo $5.24 $1.23 $3.89 sub total tax $10.45 $ 0.84 total due $11.29 thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!