n= 6
For i= 1 To 2
k=i
j=i+ 1
Do While j<= 3
If a(k) < a(j) Then k=j
j=j+ 1
Loop
If i<> k Then
t= a(i): a(i) = a(k): a(k)= t
End If
m=n-i+ 1
For j= m- 1 To 4 Step -1
If a(m)> a(j) Then m=j
Next j
If m<>n-i+ 1 Then
t= a(n-i+1):a(n-i+ 1)= a(m): a(m)= t
End If
t= a(i): a(i)= a(n-i+ 1):a(n-i+ 1)=t
Next i
数组元素a(1)到a(6)的初始值依次为“39,40,35,21,33,32”,运行程序后,a(4)的值是( )