Saturday, April 4, 2009

Caps - 2

A,B,C are three intelligent persons.
A professor arranged them in a row with A in front ,B behind him and C behind them.
He had five caps-3 red and two green.
He then put a red or green cap on each so that C can see A's and B's cap,
but not his and B can see A's but not his or C's.A can't see no ones cap.

The professor asked them to say the hat in their head.
After a while A said correctly.

Question: What was the colour of hat he is having??

[Post your answers with explanation in the comments]

Image Credits: highsnobiety.com