Question: What are the codes to a Python program that will ask a customer how many fluid ounces they would like to drink? The program will

What are the codes to a Python program that will ask a customer how many fluid ounces they would like to drink? The program will then print out the size of cup that they need based on the following criteria:
1) A drink with 12 or fewer ounces is considered to be "small."
2) A drink with more than 12 but 20 or fewer ounces is considered to be "medium."
3) A drink with more than 20 but 32 or fewer ounces is considered to be "large."
4) A drink with more than 32 ounces is considered to be "extra large."

Step by Step Solution

3.34 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

You can create a Python program to ask a customer how many fluid ounces they ... View full answer

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 Programming Questions!