JenniferKit
Vendor
Hi!
I started studying prolog at college but I´m having difficulties...
I have to do this assigment until the end of the week but I do not know
where to begin! And the worst is that, I think, it is very easy...
Maybe some of you can help me!
Here it goes:
=========
In a national contest, there are 4 types of product:
Product 1, product 2, product 3 and product 4.
4 competitors: Comp1, comp2, comp3 and comp4. The 4 competitors last names are,
in no particular order: Last1, Last2, Last3 and Last4.
Facts:
-Comp1 with lastname Last1 didn't won using Product1. Product1 won the 4th prize.
-Last2, who won the 1st prize, is not Comp2.
-Comp3 won the 3th prize.
-Last3 used product Product2.
-Comp4 did not use product3.
========
I will be eternally grateful for your help!
Thank you very much!
Jennifer K.
I started studying prolog at college but I´m having difficulties...
I have to do this assigment until the end of the week but I do not know
where to begin! And the worst is that, I think, it is very easy...
Maybe some of you can help me!
Here it goes:
=========
In a national contest, there are 4 types of product:
Product 1, product 2, product 3 and product 4.
4 competitors: Comp1, comp2, comp3 and comp4. The 4 competitors last names are,
in no particular order: Last1, Last2, Last3 and Last4.
Facts:
-Comp1 with lastname Last1 didn't won using Product1. Product1 won the 4th prize.
-Last2, who won the 1st prize, is not Comp2.
-Comp3 won the 3th prize.
-Last3 used product Product2.
-Comp4 did not use product3.
========
I will be eternally grateful for your help!
Thank you very much!
Jennifer K.