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.
1
Expert's answer
2019-07-14T21:13:36-0400
Dear sarrmine, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment