题型:单选题 题类:模拟题 难易度:困难
浙江省金华十校2020届高三上学期信息技术11月模拟考试试卷
Dim a(1 To 100)As Integer, b(1 To 10) As Intege
Dim i As Integer, s As Integer, c As Integer
For i=1 To 100
a(i)=0
Next i
For i=1 To 9 Step 2
a(b(i))=a(b(i))+1: a(b(i+1)+1)=a(b(i+1)+1)-1
Next i
c=0
For i=1 To 100
c=c+a(i)
If c=0 Then s=s+ 1
Next i
Text1. Text= Str(s)
若数组b中的值依次为“5,10,7,20,30,40,40,60,55,70”,则程序运行后Text中的内容是( )
试题篮