Sorting algorithms/Bubble sort: Difference between revisions
→{{header|FreeBASIC}}
Basicgames (talk | contribs) |
Basicgames (talk | contribs) |
||
Line 1,400:
<pre>unsort -7 3 -4 -6 4 -1 -2 2 7 0 5 1 -3 -5 6
sort -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7</pre>
<syntaxhighlight lang="basic">define sorting = 0, index = 0, size = 10, temp1 = 0, temp2 = 0
|