in reply to Solving math equations
This can be solved in a less than a second. Think about the modulo division (a.k.a. remainder, written as "%") operator. Also take a look at modifying the equation so that you only need one loop.
That's far too many hints, I think...
--
IndyZ
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Solving math equations
by FireBird34 (Pilgrim) on Nov 10, 2002 at 05:28 UTC |
In Section
Seekers of Perl Wisdom