For i = n To 2 Step -1
For j =
If a(j) > a(j + 1) Then
t = a(j): a(j) = a(j + 1): a(j + 1) = t
End If
Next j
Next i
上述程序中方框处可选语句如下,则应填入的语句为( )
①1 To i - 1 ②n - 1 To i Step -1 ③1 To n - i ④n - 1 To n - i + 1 Step -1
微信扫码预览、分享更方便