A, B and C just finished their breakfast. One of the boys had apples, another bananas and the third, grapes. If only one of the following four statements is true, who had what for breakfast?
C had bananas.
C did not have grapes.
B did not have grapes.
B did not have apples.
A had bananas, B had apples, and C had grapes.
I took each possible solution and made it true until one worked out.
If C had bananas, then statement 2 would be false, stating that C has grapes, and one person can't have two foods, so that one is false.
If C did not have grapes, then B had both grapes and apples, so that one is false.
For the last one, if B did not have apples, then both B and C had grapes, so that is false.
That leaves us with statement 3 being true. If B did not have grapes, then B did have apples, C did not have bananas but did have grapes. That leaves bananas for A.