Question: Create a program in Python that will determine the price of a special chicken sandwich. What makes these sandwiches special are the extras you can

 Create a program in Python that will determine the price of

Create a program in Python that will determine the price of a special chicken sandwich. What makes these sandwiches special are the extras you can place on them. Your program will need to ask the user for their choice of extras. It will keep asking them for their extra until they enter Q to quit. Once the extras have been accumulated, the program needs to add that extras price to the base price of a chicken sandwich. The program needs to output the cost of all the extras and the total cost for the sandwich. The extras are as follows: grilled onions (\$1.25), cheese ( $1.75 ), bacon ( $2.00 ) and one extra of your choosing for whatever price you want to assign. The base cost is $4.00. Create your own input and output prompts. As an example if the user wants a sandwich with bacon and grilled onions, the cost of the extras would be $3.25. This produces a total cost of $7.25. Make sure your solution includes the decomposition, inputs and outputs clearly identified and in comments at the top of your program. Additionally make sure your solution utilizes a multi-alternative IF structure and a loop. There will be severe deductions if you do not solve your problem with both of these requirements. The following rubric will be used to grade your final program

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!