top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Three coworkers would like to know their average salary. How can they do it, without disclosing their own salaries?

+1 vote
385 views

Three coworkers would like to know their average salary. How can they do it, without disclosing their own salaries to other two?

posted Sep 10, 2015 by Yogeshwar Thakur

Share this puzzle
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

as they are co workers their salary woulb be same

answer Sep 10, 2015 by Sai Siddardha
0 votes

Step 1: A tells his salary after adding some private number. (A+Pa)
Step 2: B adds his salary to this number along with some private number. (A+Pa+B+Pb)
Step 3: C adds his salary to this number along with his private number. (A+Pa+B+Pb+C+Pb)
Step 4: Now A subtract his private number from the the number in step 3 followed by B followed by C and we get A+B+C
Step 5: Now simple average is A+B+C/3

answer Sep 10, 2015 by Salil Agrawal



Similar Puzzles
0 votes

You and your two friends are working in a multinational company.
How can you three find out the average salary of you all without disclosing your own salary to the other two?

+3 votes

A famous chemist was found murdered in his own lab.

There was no evidence except for a piece of paper with the names of chemical substances on it, which he wrote right before he died.

The chemicals on the list were;

Oxygen
Carbon
Nickel
Lanthanum
Sulfur
On the day he was murdered, the chemist had only 3 visitors: his wife Mary, his nephew Nicolas, and his friend Johnathan.

The police arrested the murderer right away.

How did they know who it was and why?

0 votes

Acting on an anonymous phone call, the police raid a house to arrest a suspected murderer. They don't know what he looks like but they know his name is John and that he is inside the house. The police bust in on a carpenter, a lorry driver, a mechanic and a fireman all playing poker. Without hesitation or communication of any kind, they immediately arrest the fireman.
How do they know they've got their man?

0 votes

Three people met at the corner of a street.
They all are dressed like cops,
So they don't know who the thief is.
the cops will always tell the truth and
the thief will tell the truth too
to make himself appear like a good cop.

If their names are Silva, Angelina & Rex
and they said this :

Silva : "Rex is not the thief."
Angelina : "One of you both is the thief!"
Rex : "I am not the thief."

Who is the thief ?

...