单选题
窗体中有命令按钮run34,对应的事件代码如下:Private Sub run34_Enter()Dim num As Integer,a As Integer,b As Integer,i As IntegerFor i=l T0 10num=InputBox("请输入数据","输入")If Int( num/2 )=num/2 Thena=a+lElseb=b+1End IfNext iMsgBox("运行结果:a="&Str(A)&".b="&Str(B))End Sub运行以上事件过程,所完成的功能是( )。