total=0
C.ounter=1
D.o
Print Counter
total=total + Counter
Print total
C.ounter=Counter + 1
If total > 10 Then
E.xit Do
E.nd If
Loop While Counter <=10( )。
A.5
B.10
C.15
D.20
[单选题]有如下程序段,该程序段执行完后,执行循环的次数是 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 <=10A.5B.10C.15D.20
[单选题]有如下程序段,该程序段执行完后,共执行循环的次数是 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 SubA.5B.10C.12D.20
[单选题]有如下的程序段,该程序段的执行完后,共执行循环的次数是 Private Sub Command1_Click() total=0 Counter=l Do Print Counter total=total+Counter Print total Counter=Counter+1 If total>=10 Then Exit Do End If Loop While Counter<=10 End SubA.5B.10C.12D.20
[单选题]23 有如下程序段,该程序段循环的次数是______。 Dim i As Integer Dim j As Integer Dim k As Integer k=0 For i = 0 To 10 Step 3 For j = 1 To 5 If j > 3 Then k = k + 4: Exit For k=k+1 Print k Next j If i > 8 Then Exit For Next iA.9B.10C.11D.12
[单选题]有如下程序段 int *p,a=10,b=1; p=&a;a=*p+b; 执行该程序段后,a的值为______。A.12B.11C.10D.编译出错
[单选题]有如下程序段 int *p,a=10,b=1; p=&a;a=*p+b; 执行该程序段后,a的值为A.12B.11C.10D.编译出错
[单选题]有如下程序段:Dim I As IntegerI=Int (-3.25)执行后Ⅰ的返回值是A.-3B.-4C.3D.3.25
[单选题]执行完下面的程序段后,循环执行了()次。For i=1.7=To 5.9 Step 0.9a=a+1Print aNextIA . 3B . 4C . 5D . 6
[单选题]有如下程序段int *p,a=10,b=1;p=&a; a=*p+b;执行该程序段后,a的值为A.12B.11C.10D.编译出错
[单选题]有如下程序段: int *p,a=10,b=1; p=&a; a= *p+b;执行该程序段后,a的值为( )。A.12B.11C.10D.编译出错