Jump to content

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''' &nbsp; is the same as the 1<sup>st</sup> REXX version when using the default input.
 
 
'''output''' &nbsp; when using the following for input: &nbsp; <tt> 19 0 -.2 .1 1e5 19 17 -6 789 11 37 </tt>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.