Puzzles Online
Puzzle 10 | (Know Average Salary without Disclosing Individual Salaries)
Three Employees want to know the average of their salaries. They are not allowed to share their individual salaries.
Answer:
1) X adds a Random Number and his salary and tells the sum to Y.
2) Y also adds a Random Number and his salary to the sum told by X and tells new sum to Z.
3) Z also adds a Random Number and his salary to the sum told by Y and tells new sum to X.
4) X subtracts its random number from the sum told by Z and tells the new number to Y.
5) Y subtracts its random number from the sum told by X and tells the new number to Z.
6) Z subtracts its random number from the sum told by Y and announces the new number.
The new number is now the sum of three salaries and average can be calculated by dividing the sum by 3.
Finally, nobody knows the salary of others, but all know average.
This can be extended to more than 3 employees also.
Score Board
Total | |
Attended | 0 |
Correct | 0 |
Incorrect | 0 |
-
⊟
Daily Puzzle 2
- Stick Spiral
- Math Riddles
- Shapes And Sticks Puzzle
- Pigs need their pens
- Coin triangle
- Dots in a square
- Pentagon & star
- Trees in rows
- A matchstick puzzle
- Shuffle the Sticks
- Rs 500 Note Puzzle
- Turn the fish
- Cuddling Coins
- Penny through the Paper
- Squared Sticks
- Stick Shapes
- Mathematical Sticks
- Stick Stars
- Daily Puzzle
- Daily Puzzle 2
- Poison and Rat
- Brain Teasers
- Starter Puzzles
- Logic Puzzles
- Puzzle Online
- Find ages of daughters
- Finding the poisoned juice
- Find the fastest 3 horses
- Camel and Banana Puzzle
- 100 Doors
- Riddles
- 10 Coins Puzzle
- Maximize probability of White Ball
- 3 Ants and Triangle
- Maximum Chocolates
- Hourglasses Puzzle
- 5 Pirates and 100 Gold Coins
- Strategy for a 2 Player Coin Game
- Know Average Salary without Disclosing Individual Salaries