Sorting algorithms/Gnome sort: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added DO-END labels, added comments and whitespace. -- ~~~~)
m (→‎{{header|REXX}}: corrected a misspelling. -- ~~~~)
Line 1,604: Line 1,604:
say 'element' right(j,widthH) arg(1)":" @.j /*make it pretty.*/
say 'element' right(j,widthH) arg(1)":" @.j /*make it pretty.*/
end /*j*/
end /*j*/
say copies('─',60) /*show a seperator line that fits*/
say copies('─',60) /*show a separator line that fits*/
return</lang>
return</lang>
'''output'''
'''output'''