black

登录

单项选择题

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

A.5
B.10
C.15
D.20
相关考题

单项选择题 下列程序段的执行结果为( )。a=1b=1For I=1 To 3f=a+ba=bb=fPrint f;Next I

单项选择题 以下程序段运行时从键盘上输入字符“-”,则输出结果为( )。op$=InputBox("op=")If op$="+" Then a=a+2If op$="-" Then a=a-2Print a

单项选择题 下列程序段的执行结果为( )。a=2b=0Select Case aCase 1Select Case bCase 0Print " * * 0 * *"Case 1Print" * * 1 * *"End selecCase 2Print " * * 2 * *"End Select

All Rights Reserved 版权所有©PP题库网库(pptiku.com)

备案号:湘ICP备14005140号-5

经营许可证号:湘B2-20140064