Jump to content

Sorting algorithms/Bubble sort: Difference between revisions

→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)"
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 6,921:
Loop</syntaxhighlight>
 
=={{header|V (Vlang)}}==
<syntaxhighlight lang="v (vlang)">fn bubble(mut arr []int) {
println('Input: ${arr.str()}')
mut count := arr.len
451

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.