It's not a secret anymore!
The moose likes Programming Diversions and the fly likes more puzzles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "more puzzles" Watch "more puzzles" New topic

more puzzles

HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
A: The Chelsea Pensioners (Lewis Carroll)
If 70% have lost an eye, 75% an ear, 80% an arm and 85% a leg, what percentage at least must have lost all four?

B: What mathematical symbol can be put between 2 and 3 to make a number greater than two but less than three?

Bhau Mhatre
Ranch Hand

Joined: Jun 11, 2003
Posts: 199
A) 15
B) . (period)

-Mumbai cha Bhau
Mark Herschberg

Joined: Dec 04, 2000
Posts: 6037
I think the answer to the first (morbid) problem is 10%.
Suppose there are 100 people and 70 have lost an eye. Then we consider the 75 who have lost an ear. To get the minimum set, we consider that all 25 who did not lose an ear come out of the set of people who lost an eye. Hence, the minimum set who lost both an eye and an ear is 45 people.
We use similar logic for the 80 folks who lost an arm. We assume that the 20 who were spared all come from the set of 45, reducing the minimum number to get hit with all three tragedies to 25.
Finally, we assume the 15 who did not lose a leg belong to the unfortunate 25. This leaves 10 people who suffered all four losses.
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Mark is right with the answer to A. And I couldn't have explained it as well as he.
Mumbai , you are correct with the answer to B. Though I would have called it a decimal point.
Well done, you two.
[ August 23, 2003: Message edited by: HS Thomas ]
Vivek Kumar

Joined: Sep 23, 2003
Posts: 9
A simpler analogy would be, let the 4 losses are termed as A, B, C and D.
A+B+C+D = 310
To minimize number of peple getting all 4, distribute 3 losses randomly among all, so if originally there are 100 persons, even after all 100 get 3 losses each, we have 10 losses to account for. So atleast 10 people have all 4 losses.
I agree. Here's the link:
subject: more puzzles
It's not a secret anymore!