- You are given two buckets. One holds precisely 3 gallons and the other holds precisely 5 gallons. You are also given a reservoir of water, say a hose attached to the house spigot. Your mission is to fill the 5 gallon bucket with precisely 4 gallons of water.
-
- Write a program that will figure out the steps required and print them.