题型:单选题 题类:常考题 难易度:普通
浙江省诸暨市2019-2020学年高二上学期信息技术期末考试试卷
Dim t(0 To 9) As Integer
n = Val(Text1.Text)
For i = 10 To 30
a = i Mod 10
b = i \ 10
If a = n Or b = n Then t(n) = t(n) + 1
Next i
Label1.Caption = Str(t(n))
数组t中各个元素初值均为0,在文本框Text1中分别输入2时,执行该程序后,Label1中显示的内容为( )
试题篮