单项选择题

有如下程序段,该程序段执行完后,共执行循环的次数是
Private Sub Command1_Click( )
Tota1=0
Counter=1
Do
Print Counter
Tota1=tota1+Counter
Print total
Counter=Counter+1
If total>=10 Then
Exit Do
End lf
Loop While Counter<=10
End Sub

A.5
B.10
C.12 D。20