题型:单选题 题类:常考题 难易度:普通
浙江省台州市书生中学2018-2019学年高二上学期信息技术第一次月考试卷
Dim n As Integer , I As Integer
Dim s As String , ch As String
s=text1.Text
n=Len(s) '⑴
For I = 1 To n '⑵
ch=Mid(s,i,1)
If Asc(ch) >= 65 and Asc(ch) <= 97 Then
ch=Chr(Asc(ch)+32)
End If
Label1.Caption=Label1.Caption+ch
Next i
已知字母“A”的ASCII码65,字母“a”ASCII码97。若在Text1中输入“Happy2018”,则Label1中应显示( )
试题篮