单项选择题

在窗体中有一个命令按钮run1,对应的事件代码如下:
Private Sub run1_Enter()
Dim flum As Integer
Dim a As Integer
Dim b AS Integer
Dim i As Integer
For i=1 To 10
num=InputBox("请输入数据:","输入",1)
If Int(num/2)=num/2 Then
a=a+1
Else
b=b+1
End If
Next i
MsgBox("运行结果:a="& str(

A.&:",b="& str(
B.)
End Sub
运行以上事件所完成的功能是A) 对输入的10个数据求累加和B) 对输入的10个数据求各自的余数,然后再进行累加