permaculture playing cards*
The moose likes Meaningless Drivel and the fly likes puzzle of the day Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "puzzle of the day" Watch "puzzle of the day" New topic
Author

puzzle of the day

sona gold
Ranch Hand

Joined: Feb 14, 2001
Posts: 234
a man is stranded on a desert island. All he has to drink is a 20 oz bottle of sprite.
To conseve his drink he decided that on first day he will drink one oz and refill the bottle back up with water. On the 2nd day he will drink 2 oz and refill the bottle. on the 3rd day and so on...
By the time all the sprite is gone, how much water has he drunk?


sona<br />SCJP
Sameer Jamal
Ranch Hand

Joined: Feb 16, 2001
Posts: 1870
20 oz
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
190 oz.


"I'm not back." - Bill Harding, Twister
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
Everyday he filled with pure water, so the water he drank is the water he filled.
So he totally drank
1 + 2 + .... + 19 = 190
that is after day 20 when drink all the fluid in the bottle.
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
Originally posted by Jim Yingst:
190 oz.

I agree with you.
Sameer Jamal
Ranch Hand

Joined: Feb 16, 2001
Posts: 1870
Originally posted by Sameer Jamal:
20 oz

That too of a sprite
He did not drank even a drop of water
Am I right
Gagan Indus
Ranch Hand

Joined: Feb 28, 2001
Posts: 346
190 + 18 = 208 oz
sprite is 90% water


Gagan (/^_^\) SCJP2 SCWCD IBM486 <br />Die-hard JavaMonk -- little Java a day, keeps you going.<br /><a href="http://www.objectfirst.com/blog" target="_blank" rel="nofollow">My Blog</a>
Jake the Snake
Ranch Hand

Joined: Aug 02, 2001
Posts: 109
133?
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4347
    
    2

where did he get the water to refill the bottle?

a man is stranded on a desert island. All he has to drink is a 20 oz bottle of sprite.


SCJP
Visit my download page
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Good point, Gagan.
Randall - maybe it's a desert island in the midst of a freshwater lake. Or maybe the man is going ahead and drinking saltwater. I doubt he'd last twenty days at that rate though.
sona gold
Ranch Hand

Joined: Feb 14, 2001
Posts: 234
ok guys... its Don Liu again
the answer is
190 oz
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Not fair. Jim said "190" 4 minutes earlier. I think, he just drunk and refilled the bottle faster :roll:
[ April 25, 2002: Message edited by: Mapraputa Is ]

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
 
permaculture playing cards
 
subject: puzzle of the day