Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Re: (Golf) Kaprekar's Processby srawls (Friar) |
on Jun 16, 2001 at 23:41 UTC ( [id://89090]=note: print w/replies, xml ) | Need Help?? |
Oh, I see: 100 - 001 is 99; 99 - 99 is zero. Now we've got an infinite loop. Just out of curiosity, how would you solve that? Your solution gives 6 (which is most likely right), I just don't see how.
The 15 year old, freshman programmer,
In Section
Meditations
|
|