P is for Practical | |
PerlMonks |
Re^2: OT: Finding Factor Closest To Square Rootby sleepingsquirrel (Chaplain) |
on Feb 19, 2005 at 16:03 UTC ( [id://432737]=note: print w/replies, xml ) | Need Help?? |
Maybe I don't understand the OP's requirements, but 36 isn't a factor of 996 (996/36 = 27.666...). I'm guessing he wants 12 (3*2*2) for that case. And 32 isn't a factor of 1000, but 25 is. etc. Am I missing something?
-- All code is 100% tested and functional unless otherwise noted.
In Section
Seekers of Perl Wisdom
|
|