1.
(2017·杭州模拟)
在包含100个元素的数组a中,寻找最小值的Visual Basic程序段如下:
min = a(1) '变量min用于存储最小值
For i = 2 To 100
Next i
则方框中最合适的语句是( )
A . If a(i) < min Then min = a(i)
B . If a(i) < min Then a(i) = min
C . If a(i) > min Then min = a(i)
D . If a(i) > min Then a(i) = min