Created
September 7, 2011 21:13
-
-
Save mark-d-holmberg/1201748 to your computer and use it in GitHub Desktop.
Man, Wolf, Goat, Cabbage Tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mark Holmberg, Dixie State College of Utah | |
CS 3520, Programming Languages | |
7 Sept. 2011 | |
Some help with the Man, the Wolf, the Goat, and the Cabbage. | |
Since the solution is given on the site, but not how to invoke a solution | |
I searched through the slides to come up with this to actually test it | |
length(X,7), solution([w,w,w,w],X). | |
See the Gist Here: | |
https://gist.github.com/1201737 | |
Best of Luck. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment