Anonymous user
Sorting algorithms/Heapsort: Difference between revisions
m
→version 2: added whitespace to the REXX output header.
m (→version 1: corrected a scripting tag.) |
m (→version 2: added whitespace to the REXX output header.) |
||
Line 2,943:
show: do e=1 for #; say ' element' right(e,length(#)) arg(1) @.e; end; return</lang>
'''output''' is the same as the 1<sup>st</sup> REXX version when using the default input.
'''output''' when using the following for input: <tt> 19 0 -.2 .1 1e5 19 17 -6 789 11 37 </tt>
|