题型:综合题 题类:常考题 难易度:困难
浙江省温州市新力量联盟2018-2019学年高二上学期信息技术期末考试试卷
Private Sub Command1_Click()
Dim s As String, s1 As String, t As Integer, c As Integer
Const code = "0123456789ABCDEF"
s = Text1.Text
t = 0: s1 = ""
For i = Len(s) To 1 Step -1
c = Val(Mid(s, i, 1))
t = t + c * 2 ^ ((Len(s) - i) Mod 4)
If (Len(s) - i + 1) Mod 4 = 0 Or ① Then
②
t = 0
End If
Next i
Text2.Text = s1
End sub
① ②
试题篮