Introduction to Prolog

Due:
5:00am, Wednesday October 23, 2024

Description

Write a Prolog file named p1.pl specifying the following facts and rules:

Then, ask the following queries:

For the second part, copy and paste the interaction with the Prolog interpreter to a file named answers.txt.

Turning in the Assignment

To submit your assignment, create a zip file named p1.zip of a DIRECTORY named p1 containing the following files:

Then submit that file to the appropriate folder on D2L.