Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Measurement
#1
A US gill is measure of volume that is equal to 32 fluid drams .One drams is equal to 1/8 of a US ounce. If you know the number of fluid ounces, you can calculate the number of drams = ounces *8 and the number of gills as gills= ounces /4. Write a program to enter the number of apple cider they want to purchase. Calculate and display the correct number of gills and drams. If the result is more than 1024 drams, a message should display indicating that the amount they want is large and they need to purchase  their cider in gallons. If the result is less than 100 drams, a message should display indicating that the amount they want is too small and perhaps they should just order a pint
Reply


Messages In This Thread
Measurement - by thyva - Jan-27-2017, 12:56 AM
RE: Measurement - by micseydel - Jan-27-2017, 01:06 AM
RE: Measurement - by thyva - Jan-27-2017, 01:23 AM
RE: Measurement - by micseydel - Jan-27-2017, 01:26 AM
RE: Measurement - by thyva - Jan-27-2017, 02:58 AM
RE: Measurement - by wavic - Jan-27-2017, 06:17 AM
RE: Measurement - by sparkz_alot - Jan-27-2017, 03:38 PM
RE: Measurement - by deanhystad - Jun-09-2022, 02:48 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020