Private Sub Command1_Click()
a=Text1.Text
If a Mod 2 = 0 Then
Print " a是偶数"
Else
Print " a是奇数"
End If
End Sub 作者: 無泪、じòぴé 时间: 2011-10-16 18:17
Private Sub Command1_Click()
a = Text1.Text
If a > 85 Then
Print "very good"
Else
If a >= 60 Then
Print "good"
Else
Print "no good"
End If
End If
End Sub 作者: 無泪、じòぴé 时间: 2011-10-16 18:35
Private Sub Command1_Click()
a = Text1.Text
b = Text2.Text
c = Text3.Text
If a > b Then
x = a: a = b: b = x
Else
If a > c Then
x = a: a = c: c = x
Else
x = b: b = c: c = x
End If
End If
Print a, b, c
End Sub 作者: Tsnaa 时间: 2011-10-16 18:36