Private Sub Command1_Click()
s = 0
i = 2
Do
s = s + i
i = i + 2
Loop While i <= 100
Print "s1="; s
End Sub
Private Sub Command2_Click()
s = 0
i = 2
Do While i <= 100
s = s + i
i = i + 2
Loop
Print "s2="; s
End Sub
Private Sub Command3_Click()
s = 0
i = 2
Do
s = s + i
i = i + 2
Loop Until i > 100
Print "s3="; s
End Sub