Just another Perl shrine | |
PerlMonks |
Re: Solving math equationsby IndyZ (Friar) |
on Nov 10, 2002 at 05:24 UTC ( [id://211728]=note: print w/replies, xml ) | Need Help?? |
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...
In Section
Seekers of Perl Wisdom
|
|