Anonymous user
Sorting algorithms/Bubble sort: Difference between revisions
m
→{{header|bash}}
Line 473:
if ${ft[$(( a[j+1] < a[j] ))]}
then
t=${a[j+1]}
a[j+1]=${a[j]}
a[j]=$t
fi
t=$(( ++j ))
done
|