Dim a(1 To 6)As Integer, I AS Integer, maxi As Integer
a(1)=12:a(2)=8:a(3)=14:a(4)=13:a(5)=12:a(6)=11
Maxi=1
For i=2 To 6
If a(i)>a(maxi)Then maxi=i
Next i
a(1)=a(1)+a(maxi):a(maxi)=a(1)-a(maxi):a(1)=a(1)-a(maxi)
执行该程序段后,数组元素a(1)~a(6)的值是( )
微信扫码预览、分享更方便