For i = 1 To 2
For j = 6 To 2 * (i + 1) Step -2
If a(j) < a(j - 2) Then
t = a(j): a(j) = a(j - 2): a(j - 2) = t
End If
Next j
Next i
假定数组元素a(1)~a(6)的值依次为“happy,sky,change,sk,bellow,hello”。执行该程序段后,a(4)~a(6)的值依次是( )
微信扫码预览、分享更方便