题型:单选题 题类:常考题 难易度:普通
浙江省温州市十五校联盟2018-2019学年高二下学期信息技术期末考试试卷
s = "2019.06 Visual Basic 6.0": n = 0 For i = 1 To Len(s)
ch = Mid(s, i, 1)
If ch >= "0" And ch <= "9" Then
m = Asc(ch) - Asc("0") + 1
a(m) = a(m) + 1
End If
Next i
For i = 1 To 10
If a(i) > 1 Then n = n + i
Next i
数组 a 各元素的初始值都为0,执行该程序段后,则变量n的值为( )
试题篮