Anonymous user
Sorting algorithms/Bubble sort: Difference between revisions
m
→{{header|Batch File}}
Line 593:
if %len% leq 0 (echo bubble sort: zero length string & exit /b 1)
set /a len-=1
for /l %%x in (0,1,
:bubblesort
Line 612:
:done
for /l %%x in (0,1,
echo. & echo unsorted input: !unsorted!
echo. & echo sorted output: !sorted!
|