Prime decomposition: Difference between revisions
→{{header|ALGOL W}}: Added note
(Added Algol W) |
(→{{header|ALGOL W}}: Added note) |
||
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 %
|