n=8
For i=1 To n-1
x=x+1
For j=n To i+1 Step-1
y=y+1
If a(j) > a(j- 1) Then
t=a(j): a(j) =a(j- 1):a(j-1)=t
z=z+1
End If
Next j
Next i
数组元素a(1) 到a(m)的值依次为“1,2,3,4,8,7,6,5",则下列关系正确的是( )
微信扫码预览、分享更方便