Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- food(apple,fruit).
- food(tomato,fruit).
- food(lettuce,salad).
- food(beef,meat).
- food(cucumber,salad).
- display_salad_food :- food(Food,salad),
- write(Food), write(' is a salad'), nl, fail.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement