Solving a puzzle in Prolog about time constraints
问题 Stuck on a Prolog problem. I know the answer (because I did it on paper first), but I cannot figure out how to get Prolog to come up with the answer. Problem: Bill eats a snack every night, having a different fruit and different nuts each night. From the statements below, identify what Bill had for a snack for each weeknight last week. a) The apple was eaten later in the week than the mango. b) The banana was eaten later in the week than both the almonds and peanuts, but earlier in the week