单选题
在窗体中有一个命令按钮Commandl,对应的事件代码如下:
Pfivate Sub Command l_Ente( )
Dim nllm As Integer
Dim aAs Integer
Dim bAs Integer
Dim iAs Integer
Fori=1 To 10
num=InputBox("请输入数据:","输入",l)
If Int(num/2)=Iaum/2 Then
a=a+l
Else
b=b+1
EndIf
Next i
MsgBox("运行结果:a="&St"A.&:",b="&Str(B.)
End Sub
运行以上事件所完成的功能是( )。