题型:综合题 题类:常考题 难易度:困难
浙江省诸暨中学2018-2019学年高二上学期信息技术10月阶段性考试试卷
Private Sub Command1_Click()
Dim s As String, c As String
Dim i As Integer, n As Integer, num As Integer
s = Text1.Text: num = 0
n =
i = 1
Do While i <= n
c = Mid(s, i, 1)
If Then
num = num + 1
End If
i = i + 1
Label1.Caption = Str(num)
End Sub
试题篮