Bubble Sort na pole Φφsel |
Postup: 'P°edpoklßdß se, ₧e polo₧ka numbers je pole Φφseln²ch hodnot For i = 1 To UBound(numbers) - 1 For j = 1 To UBound(numbers) - 1 If numbers(j) > numbers(j + 1) Then temp = numbers(j) numbers(j) = numbers(j + 1) numbers(j + 1) = temp End If Next Next |
Autor: The Bozena |