Re: A Teaser Solving Program

new topic     » goto parent     » topic index » view thread      » older message » newer message

Tristen Wilson wrote:
> 
> > What is it that you would want the program to do?  Point out the flaw in 
> > the text?  This is an old "brain teaser" that uses a false statement to
> > confuse the listener.
> > 
> > Assuming that you're really asking what the answer is, then it's that they
> > didn't pay $27.  They paid $25 for the room, and the clerk "split" the 
> > change with them.  The hotel got $25, the clerk got $2, and they kept the
> > other $3.
> > 
> > Matt
> I'm severely confused!

Matt is correct (of course). The text of the question is misleading.

Yes, in total the three student paid a net total of $27. The hotel got $25 and
the clerk got $2. The text implies that it proper logic to add the students' $27
and the clerk's $2 to get $29, but the $27 already includes the clerk's take.

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu