VB中提示缺少子程序、函数或属性,是怎么回事?
PrivateSubCommand1_Click()Dima,b,cAsIntegerb=0:c=0Fori=1To10a=Val(InputBox("请输入数字","窗...
Private Sub Command1_Click()
Dim a, b, c As Integer
b = 0: c = 0
For i = 1 To 10
a = Val(InputBox("请输入数字", "窗口"))
a mod2 = 0
b = b + 1
Else
c = c + 1
End If
Next
End Sub
这是要做一个能分计偶数的 展开
Dim a, b, c As Integer
b = 0: c = 0
For i = 1 To 10
a = Val(InputBox("请输入数字", "窗口"))
a mod2 = 0
b = b + 1
Else
c = c + 1
End If
Next
End Sub
这是要做一个能分计偶数的 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |