[Solved] : Question 129002

Represent the following information in a Prolog database.
Write facts to define the following information:
• John plays golf and tennis.
• Pete plays football and cricket.
• Anne plays tennis and netball.
• Mary plays golf and netball.
• Dave plays football, golf and cricket.
Write rules to define the following:
• Anne is friends with everyone.
• John is friends with anyone who plays both football and cricket.
• All the people who play golf are friends with each other.

Expert Answer

Answer to : Question 129002

Leave a Comment


We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?