A, B, C, D, and E are five friends who are sitting in a row. A is sitting next to B but not next to C. D is sitting next to E. C is sitting at one of the ends. Who is sitting in the middle?
Five books are arranged on a shelf. Book A is to the left of Book B but to the right of Book C. Book D is to the left of Book E. What is the correct order of the books from left to right?