level 5
程序1Private Sub Command1_Click()Dim x As Singlex = InputBox("x=")If x / 2 = x \ 2 ThenPrint "yes"ElsePrint "no"End IfEnd Sub
2005年12月29日 06点12分
1
level 5
Private Sub Command2_Click()Dim m As Integer, i As Integerm = InputBox("shurushu>2")i = 2Do Until (m Mod i = 0) Or (i = m - 1)i = i + 1LoopIf m Mod i = 0 Then Print "no" Else Print "yes"End Sub
2005年12月29日 06点12分
2
level 0
Private Sub Command3_Click()Dim x As Stringx = InputBox("x=")Select Case xCase "A" To "Z"Print "大写字母"Case "a" To "z"Print "小写字母"Case "0" To "9"Print "数字"Case ElsePrint "其他字符"End SelectEnd Sub
2006年01月04日 06点01分
3
level 0
InputBox mFor a = 21 To mFor c = 2 + 0 To aIf a / c Then If c > Rrd(a / c) Then Print aNext cNext a
2006年01月04日 06点01分
5
level 0
Private Sub Command2_Click()Dim M As Integer, I As IntegerM = InputBox("enter")I = 2For M = 2 To MFor I = 2 To M - 1If (M Mod I) = 0 Then GoTo aNext IPrint Ma:Next MEnd Sub
2006年01月05日 06点01分
9