1.
对数组元素b(1)~b(8)进行降序排序,其排序算法的VB部分程序如下:
For x = 1 To 7
w = x
For y = x + 1 To 8
Next y
If w < > x Then
Temp = b(x): b(i) = b(w): b(w) = temp
End If
Next x
方框中应填入的语句为( )
A . If b(w) > b(y) Then w = y
B . If b(w) < b(y) Then w = y
C . If b(w) > b(y) Then w = x
D . If b(w) < b(y) Then w = x