--- In [email protected], Benjamin Scott 
<[EMAIL PROTECTED]> wrote:
>
> 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.
> 
But in my requirement, function should just take one 'parameter' 
(argument)and find its prime factors sso i think this method is not 
quite right.
> 
> 
>       
_____________________________________________________________________
_______________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>


Reply via email to