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; CheckEnd Sub程序运行后,单击窗体,输出结果为______。 A: 15 0 B: 20 -1 C: 10 True D: 10 False
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; CheckEnd Sub程序运行后,单击窗体,输出结果为______。 A: 15 0 B: 20 -1 C: 10 True D: 10 False
1