题型:综合题 题类:常考题 难易度:困难
浙江省台州中学2018届高三上学期信息技术第四次统练试卷
Private Sub Command1_Click()
Dim s As String, result As String, i As Integer, j As Integer, t As Integer
s = Text1.Text :t = Len(s) :result = ""
i=1
Do While i <= t
j = i
Do While i < t
If Asc(Mid(s, i + 1, 1)) = Asc(Mid(s, i, 1)) + 1 Then
i = i + 1
Else
Exit Do
End If
Loop
If i > j Then
result =
Else
result = result + Mid(s, i, 1)
End If
i = i + 1
Loop
Text2.Text =
End Sub
试题篮