Created
August 22, 2017 15:47
-
-
Save infinite-Joy/519857fed919fb76dc7a04ca1288acfb to your computer and use it in GitHub Desktop.
This file contains 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
main :- | |
has(X,apples), % who has apples | |
has(Y,plums), % who has plums | |
write(X), % write the apple lovers | |
put(10), % new line | |
write(Y), % write the plum lovers | |
nl, halt. % new line and halt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment