aspose file tools*
The moose likes Programming Diversions and the fly likes A riddle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "A riddle" Watch "A riddle" New topic
Author

A riddle

HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
The day before two days after the day before tomorrow is Monday. What day is it today ?
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Buzz showed up for work on Monday only to discover that his delivery truck was in the shop for maintenance. He was told that it would be ready two days after the day before the day after tomorrow. On what day can Buzz expect to be back on the road in his truck.
I believe these riddles pertain particularly to the state of Nevada ?
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11229
    
  16

The day before two days after the day before tomorrow is Monday. What day is it today ?

the day before = -1 day
two days after = + 2 days
the day before = -1 day
tomorrow = + 1 day
sum = + 1 day.
translate original phrase to (in +1 days, it is monday).
today is sunday.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Thursday is the answer to the second question.
IOWA IS THE NEW JERSEY OF THE MIDWEST.
from Iowa:
from New Jersey:
Who should be more insulted ? Someone please explain. Came across this line in my local.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11229
    
  16

two days after the day before the day after tomorrow.

two days after = +2
the day before = -1
the day after = +1
tomorrow = +1
=======================
total = +3
today is monday, so the truck will be ready thursday.
Who should be more insulted

that depends on how much you like New Jersey, Iowa, or the midwest.
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Thanks fred.
Guess will never know.This may help decipher this riddle
Population per sq. mile:
Iowa: 52.4 N.J: 1,134
Hispanic
Iowa: 2.8 N.J.: 13.3
Foreign-born
Iowa: 3.1 N.J.: 17.5
Black
Iowa: 2.1 N.J.: 13.6
White
Iowa: 93.9 N.J.: 72.6
Asian
Iowa: 1.3 N.J.: 5.7
More random facts :
Both Iowa and New Jersey natives are almost magnetically drawn to the nearby metropolises of Chicago and New York.
[ March 24, 2004: Message edited by: HS Thomas ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A riddle