Sorting algorithms/Insertion sort: Difference between revisions
Sorting algorithms/Insertion sort (view source)
Revision as of 11:19, 17 November 2023
, 6 months ago→{{header|GWBASIC}}
imported>Lacika7 |
|||
Line 1,536:
</pre>
==={{header|
{{works with|BASICA}}
{{works with|
{{works with|
{{works with|VB-DOS}}
Sorts N integers in an array a() with the Insertion sort
Line 1,578 ⟶ 1,579:
</syntaxhighlight>
{{out}}
<pre>This program sorts by Insertion a list of randomly generated numbers.▼
▲This program sorts by Insertion a list of randomly generated numbers.
Unsorted list:
Line 1,587:
3 5 11 15 15 26 28 31 34 36 47 48 58 61 68 69 73 79 86 100
End of program execution.</pre>
==={{header|ZX BASIC}}===
|