This is one of the best puzzles I have posted, and would highly encourage all of you to try it – kids as well as adults.
Four honest and hard-working computer engineers are sipping coffee at Starbucks. They wish to compute their average salary. However, nobody is willing to reveal an iota of information about his/her own salary to anybody else. How do they do it?