4. Use Prolog to solve the following jobs puzzle: Jim, Jack, and Joan hold three jobs between...

Question:

4. Use Prolog to solve the following jobs puzzle:

“Jim, Jack, and Joan hold three jobs between them. Each has one job. The jobs are schoolteacher, piano player, and secretary. The job of a schoolteacher is held by a male. Jack never went to college and has no musical talent.”

Once again, you need to present Prolog with additional world knowledge. For example, Prolog does not know that Joan is a woman’s name or that Jim and Jack are male.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: