All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic
Finding Average (Posted on 2013-04-01) Difficulty: 1 of 5
Three coworkers would like to know their average salary. However, they are self-conscious and don't want to tell each other their own salaries, for fear of either being ridiculed or getting their houses robbed. How can they find their average salary, without disclosing their own salaries?

No Solution Yet Submitted by Danish Ahmed Khan    
Rating: 1.5000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re: One solution (and a simple variation) | Comment 2 of 9 |
(In reply to One solution (and a simple variation) by Jer)

For extra security, the parts need not both be positive, so the first person, or all persons if all are separating their salaries into two parts, could apply a number larger than his/her salary, or a negative number, the first time around. If limited to positive numbers, one could see the salary was at least the value shown to the second person regarding the first.
  Posted by Charlie on 2013-04-01 11:42:39

Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information