Question: prolog program question 1. Alfred 3 red 2. Alice 2 green 3. Arthur 4 blue 4. Anne 1 yellow Snail racing After the recent Brain-Bashers

prolog program question prolog program question 1. Alfred 3 red 2. Alice
1. Alfred 3 red
2. Alice 2 green
3. Arthur 4 blue
4. Anne 1 yellow
Snail racing After the recent Brain-Bashers snail racing contest, the four contestants were congratulating each other. Only one snail wore the same number as the position it finished in. Alfred's snail wasn't painted yellow nor blue, and the snail who wore 3, that was painted red, beat the snail who came in third. Arthur's snail beat Anne's snail, whereas Alice's snail beat the snail who wore 1. The snail painted green, Alice's, came second and the snail painted blue wore number 4. Anne's snail wore number 1. Write a program to work out who's snail finished where, its number and the color it was painted

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!