Powered By Blogger

Senin, 01 Juli 2013

Water jug problem

Problem about water jug(masalah water jug)

solution 1
1
Fill up the 3 gallon jug, and dump it into the 5 gallon jug.



2
Fill up the 3 gallon jug again, and use it to fill the 5 gallon jug the rest of the way up, taking two gallons from your 3 gallon jug, leaving 1 gallon.


3
Dump the 5 gallon jug out, and put the 1 gallon that is left over in the 3 gallon jug into the 5 gallon jug.


4
Fill the 3 gallon jug.


5
Add that 3 gallons to the 1 gallon in the 5 gallon jug to get 4 gallons.



Solution 2
1
Fill up the 5 gallon jug


2
Pour 3 gallons from the 5 gallon into the 3 gallon jug. leaving 2 gallons


3
Empty the 3 gallon jug and put the 2 gallons into the 3 gallon jug


4
Fill the 5 gallon and pour 1 gallon to fill the 3 gallon jug, leaving you with 4 gallons.

http://www.wikihow.com/Solve-the-Water-Jug-Riddle-from-Die-Hard-3

Tidak ada komentar:

Posting Komentar