Four friends, A, B, C, and D, have different pets: a dog, a cat, a bird, and a fish. A does not have a dog or a fish. B has a cat. C does not have a bird. What pet does D have?
In a race, five runners A, B, C, D, and E finished in the following order: A is not first or last. B finished before C but after D. E finished last. Who finished first?
Four friends A, B, C, and D are sitting in a row. A is to the left of B but to the right of C. D is sitting at one of the ends. Who is sitting in the middle?