Water Jug Problem

You are given two jugs of capacity X and Y units. The objective is to obtain Z units of water in the jug with capacity X. You can spill water from any jug, fill any jug or pour water from one jug to another.
Developed by C.M.Shivkumar

Code Unleash

Hosted by www.Geocities.ws

1