On Tue, Jul 19, 2011 at 6:47 PM, Stu <stu / rubyprogrammer.net> wrote:
>
> homework. seen this before.

That's because it's one of the first exercises for Chris Pine's Learn
To Program. That's not usually used as a textbook for comp.sci.
programming courses.

So, instead of being completely dismissive, help a poor guy/gal out,
and put him/her onto the right track, eh?

--=20
Phillip Gawlowski

phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 -- Leibniz