Anonymous user
Sorting algorithms/Bubble sort: Difference between revisions
m
→version 3, random integers, horizontal list, with interim plots: added wording to the REXX section header.
(→{{header|REXX}}: added a REXX version with snapshots of the sort's progress.) |
m (→version 3, random integers, horizontal list, with interim plots: added wording to the REXX section header.) |
||
Line 3,921:
===version 3, random integers, horizontal list, with interim plots===
This REXX program is a modified version of the first REXX program, with produces a snapshot of the plot in progress.
The random number generation uses the numbers from '''1''' ───► '''N''' (in sequential
order), and then those
<br>numbers are randomized. This is done to make the displaying of the plot symmetric.
Note that the command to clear the terminal screen is hard-coded as: '''CLS'''
|