You are given a 3-gallon bucket and a 5-gallon bucket. How can you measure exactly 4 gallons of water?
Q1. You are given a 3-gallon bucket and a 5-gallon bucket. How can you measure exactly 4 gallons of water?
Answer: Fill the 5-gallon bucket, pour into the 3-gallon, empty the 3-gallon, pour the remaining 2 gallons into the 3-gallon, fill the 5-gallon again, pour 1 gallon from the 5-gallon into the 3-gallon
Explanation: Fill the 5-gallon, pour into the 3-gallon until full, leaving 2 gallons in the 5-gallon. Empty the 3-gallon, pour the 2 gallons into it. Fill the 5-gallon again, pour 1 gallon into the 3-gallon to fill it. Now, the 5-gallon bucket contains 4 gallons.