题型:单选题 题类:常考题 难易度:普通
浙江省稽阳联谊学校2020届高三上学期信息技术12月联考试卷
s = Text1.Text: sum = 0: t = 0: cnt = 1
For i = 1 To Len(s)
c = Mid(s, i, 1)
If c >= "0" And c <= "9" Then
j=j+1
Else
If cnt Mod 2 = 1 Then sum = sum + val(mid(s,i-j,j))
j= 0:cnt = cnt + 1
End If
Next i
在文本框text1输入“12d6a3c4f20”,程序运行后sum的值是( )
试题篮