❤100❤
✳️ Note ✳️
Those who have brains, answer them only*
__________________________
You want to find the average salary of your group of friends,
without asking their actual salary.
How will you find?
________________________________
Mods where are u now ???
Answers
Answered by
11
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.
Answered by
7
ʀᴇꜰᴇʀ ᴛᴏ ᴛʜᴇ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ.
ʜᴏᴩᴇ ɪᴛ ʜᴇʟᴩꜱ ᴜ !!
Attachments:
Similar questions