题库 高中信息

题干

有如下VB程序段:
Dim i As Integer,c As String,s As String,t As String
s=“China2014IT”:t=“”
For i=1 To Len(s)
 c=Mid(s,i,1)
 If c>=“a” And c<=“z” Then t=t+c
Next i
Label1.Caption=t
该程序段运行后,标签Label1中显示的内容是( )
A.2014B.ChinaIT
C.hinaD.CIT
上一题 下一题 0.99难度 选择题 更新时间:2020-01-17 01:18:35

答案(点此获取答案解析)