Jump to content

Sorting algorithms/Cocktail sort with shifting bounds: Difference between revisions

m
(→‎{{header|VBScript}}: Better indentation)
Line 366:
=={{header|Visual Basic .NET}}==
{{works with|Visual Basic .NET|9.0}}
<lang vbnet>' BubbleSorting algorithms/Cocktail sort with shifting bounds - VB.Net
Private Sub Cocktail_Shaker_Sort()
Dim A(20), tmp As Long 'or Integer Long Single Double String
1,392

edits

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