Sorting algorithms/Bubble sort: Difference between revisions

m
m (→‎version 3, random integers, horizontal list, with interim plots: added wording to the REXX section header.)
m (→‎version 3, random integers, horizontal list, with interim plots: changed wording in the REXX section header.)
Line 3,923:
 
The random number generation uses the numbers from     '''1''' ───► '''N'''     (in sequential
order),   and then those numbers
<br>numbers are randomized. &nbsp; This is done to make the displaying of the plot symmetric &nbsp; (a straight upward diagonal slope).
 
Note that the command to clear the terminal screen is hard-coded as: &nbsp; '''CLS'''