题型:综合题 题类:常考题 难易度:普通
浙江省嘉兴市第一中学2017-2018学年高二上学期信息技术期中考试试卷
图1
图2
Private Sub Command1_Click()
Dim n As Integer, i As Integer, a As Integer, b As Integer
Randomize
n = Val(Text1.Text)
i = ①
Do While i <= n
a = Int(Rnd * 100)
b = Int(Rnd * 100)
If ② Then
List1.AddItem "(" + Str(i) + ")" + Str(a) + "+" + Str(b) + "="
i = i + 1
End If
Loop
End Sub
试题篮