- #1
r0bHadz
- 194
- 17
- Homework Statement
- Using Donald Trump’s family tree, write a prolog program ( a collection of facts
and rules) to answer the following queries about the relationships within Donald
trump’s family tree.
• Who is the mother of Ivanka trump
- Relevant Equations
- none
From what I know, we can write a fact, such as mother('Ivana Trump', 'Ivanka Trump').
But I am lost. Is there suppose to be some convention, which states which one comes first? Does the mother or the child come first?
Basically, I have no clue what the answer to this question is suppose to look like. It seems simple enough. I've email my professor but she hasn't replied, and I really want to get a head start on this homework
But I am lost. Is there suppose to be some convention, which states which one comes first? Does the mother or the child come first?
Basically, I have no clue what the answer to this question is suppose to look like. It seems simple enough. I've email my professor but she hasn't replied, and I really want to get a head start on this homework