【单选题】在窗体中有一个命令按钮Commandl,对应的事件代码如下。 Private Sub Commandl_Enter( ) Dim num As IntegerDim aAs IntegerDimbAsIntegerDim iAs IntegerFori=lT010num=InputBox("请输入数据:","输入",1)IfInt(num/2)=num/2 Thena=a+1Elseb=b+lEn...
【单选题】在窗体中有一个命令按钮Commandl,对应的事件代码如下: Private Sub Commandl_nter() Dim num As Integer Dim a As Integer Dim b As Integer Dim i As Integer For i=1 To 10 num=InputBox(“请输入数据:”,“输入”,1)