logo

Crowdly

Browser

Add to Chrome

Consider the following program: likes(marie, pizza). likes(marco, pizza). ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following program:

likes(marie, pizza).

likes(marco, pizza).

likes(Person, pizza) :- italian(Person).

italian(marco).

 

What would the output of the following

query be?

?- setof(Person, likes(Person, pizza), Persons).

 

100%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.royalholloway.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome