The eighth birthday


Thomas has invited Peter, Klaus, Jeremy and Andreas to his eighth birthday.

Every one of the four young guests (ages 6, 7, 8 and 9) ate a different cake made either with nuts, lemon, strawberries or chocolate.
What a party! Everyone wore a funny paper hat. The gifts which Thomas got from his friends were a figurine, a book, a clock and a ball.

This is what we know about the four young guests:

Andreas is one year younger than Jeremy.
The child who gave the ball is younger than the child with the red hat, but older than the child who ate the strawberry cake.
The child who ate the nut cake is younger than the child with the green hat.
The child who gave the figurine is one year younger than the child who ate the lemon cake.
There is only one year difference between Klaus and the child who gave the figurine.
There is only one year difference between the child with the blue hat and the child who gave the clock.
There is only one year difference between the child with the yellow hat and the child who ate the lemon cake.

Question:Which friend wore which hat, what was their gift and what cake did they eat ? Name also the age of each friend!


AttributesValues
NameAndreas; Jeremy; Klaus; Peter
Giftfigurine; book; clock, ball
Colorblue; green; red; yellow
Cakechocolate; lemons; nuts; strawberries
Age6; 7; 8; 9