• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Puzzle

 
Nilesh Parikh
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey All
I have a 5 Gallon and 3 gallon Water Containers and Lots of Water. How do I measure exaclty 4 Gallons of water. THe containers are not marked and I dont have any other Containers.
Alkesh
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Fill the 3-gallon water container and pour it into the 5-gallon water container.
2. Fill the 3-gallon water container and pour it into the 5-gallon water container which already contains 3 gallons of water. This leaves 1 gallon of water in the 3-gallon water container.
3. Empty the 5-gallon water container and then add the 1 gallon of water from the 3-gallon container.
4. Fill the 3-gallon water container and add it to the 1 gallon of water in the 5-gallon container. Presto - 4 gallons of water!
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm going to move this to Programming Diversions.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic