[单项选择题] 阅读下面的程序: Private Sub Form_Click( ) Dim Check, Counter Check = True Counter = 0
18 查阅
[单项选择题] 阅读下面的程序:
Private Sub Form_Click(
)
Dim Check, Counter
Check = True
Counter = 0
Do
Do While Counter < 20
Counter = Counter + 1
If Counter = 10 Then
Check = False
Exit Do
End If
Loop
Loop Until Check = False
Print Counter, Check
End Sub
程序运行后,单击窗体,输出结果为________。
(A) 15 0
(B) 20 -1
(C) 10 True
(D) 10 False
A. 15 0
B. 20 -1
C. 10 True
D. 10 False
参考答案: