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.
1
Expert's answer
2020-08-11T10:42:40-0400
Dear Divi, 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