How about this Puescode? Procedure Factoring (a, b)
1. loop until b => a
1.2 if a mod b = 0 then
1.2.1 print b
1.2.2 factor(a / b, b)
else
1.3.1 b = b + 1
This might exclude the last factor,
but that's your problem to fix.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
