[Tutor] Programming Style

William Rance rantek at pacific.net.sg
Wed May 26 02:29:38 EDT 2004

A Pure Mathematician(PM) and an Applied Mathematician(AM) were put in
separate rooms and located 20ft from an Apple.They were informed that to
reach the apple they had to jump 10ft, followed by another jump of half
thedistance (5ft) followed by subsequent jumps each of which would be half
distance of preceding jump.
The PM quickly calculated that no matter how may jumps he made he could
never land at the apple, consequently he did not attempt the jumps.
The AM however immediately started jumping, as he calculated that after 5
to6 jumps he would land close enough to grab the apple.

Happy coding to all.

More information about the Tutor mailing list