Const n=9
k = 1
For i = 1 To (n + 1) / 2 - 1
For j = 1 To n - i * 2
If a(j) * k < a(j + 2) * k Then
t = a(j): a(j) = a(j + 2): a(j + 2) = t
End If
k = -k
Next j
Next i
For i = 1 To (n + 1) \ 2
List2.AddItem Str(a(2 * i - 1))
Next i
已知数组元素 a(1)~a(9)分别是8、6、2、9、6、3、8、11、5,执行程序后list2输出的结果分别是( )