题型:单选题 题类:模拟题 难易度:困难
浙江省2019年信息技术选考模拟试卷五
i = 1 : k = 0
Do While i<= 3
For j = 8 To i + 1 Step -1
If a(j) >= a(j - 1) Then
t = a(j): a(j) = a(j-1): a(j-1) = t
k = k + 1
End If
Next j
i = i + 1
Loop
若数组a中的数据依次为“24,29,31,24,12,10,12,25”,则加工结束后,变量k的值为( )
试题篮