John Payson email (remove spam text)
> Bill Cornutt's answer ("It is the classic solution to the 'one
> potato, two potato' problem") would, of course, be the USUAL
> reason, but my need for the routine is a little different:
> The "divisible by 3" routine is only the first step of a much
> larger process: I'm trying to see if the input number is EQUAL
> to 3.
Hmm... this sounds similar in concept to the Leeland (sp?) sort:
 Check to see if first item is less than second, second less than third,
 If all checks pass, sort is complete. Otherwise...
 Randomly shuffle the numbers and go back to step .
In reply to: <m0u6SKD-000Bb2C@mailbox.mcs.com> from "Andrew Warren" at Apr 8, 96 01:59:48 pm
See also: www.piclist.com/techref/index.htm?key=challenge
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the