Anonymous user
Sorting algorithms/Bubble sort: Difference between revisions
m
→version 1, random integers, horizontal list: added wording to the REXX section header.
m (→version 0, alpha-numeric vertical list: added wording to the REXX section header.) |
m (→version 1, random integers, horizontal list: added wording to the REXX section header.) |
||
Line 3,864:
===version 1, random integers, horizontal list===
This REXX version sorts (using a bubble sort) and displays a random array of numbers (amount is specifiable from the command line) in a horizontal list.
Programming note: a check was made to not exceed REXX's upper range limit of the '''random''' BIF.
|