Menu

[solved] – Question 91672

Translate the following sentences into a Prolog program smart.pro:

Messi teaches Prolog language.
Prolog is a programming subject.
Nabil teaches Algebra.
Algebra is a Mathematics subject.
Everyone who teaches a programming subject is smart.

Consult the above program and query Prolog: “Who are smart”? Print screen and submit the output.

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *