Jump to content

Prime decomposition: Difference between revisions

(Added Algol W)
Line 760:
 
=={{header|ALGOL W}}==
Algol W procedures can't return arrays, so an array to store the factors in must be passed as a parameter.
<syntaxhighlight lang="algolw">
begin % find the prime decompositionmtion of some integers %
3,048

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.