Question: 8. Practice writing a program from scratch! Write a Python program to do the following: Given the amount of punch in a punch bowl, find

 8. Practice writing a program from scratch! Write a Python program

8. Practice writing a program from scratch! Write a Python program to do the following: Given the amount of punch in a punch bowl, find the number of glasses you can fill, as well as the amount of punch left over that will not completely fill a glass. The amount of punch in litres and the capacity of glasses in ounces is to be obtained as input. Note that 1 Litre = 33.8140226 Ounces. Given the following input data: 2.0 6.0 The expected output is as follows: The number of 6.0 ounce glasses that can be filled is 11 The number of leftover ounces is 1.6280452

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!