单项选择题有如下的程序片段,该程序片段的执行完后,共执行循环______次。Private Sub Command1_Click()total=0Counter=1doPrint Countertotal=total+CounterPrint total, 111 Counter=Counter+1if total>=10 thenexit doEnd ifLoop while Counter<=10End Sub
单项选择题窗体上画一个命令按钮,然后编写如下代码:Private Type RecordID As IntegerName As String*20End TypePrivate Sub Command1_Click()Dim MaxSize,NextChar,MyCharOpen c: file.txt for Input As #1NaxSize=LOF(1)for NextChar=NaxSize To 1 Step-1Seek #1,NextCharHyChar=Input(1,#1)Next NextCharPrint EOF(1)Close #1End Sub程序运行后,单击命令按钮,其输出结果为______。