网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
执行下面的程序段后X的值为______。 x=5 For I=I To 20 Step2 x=x+I\5 Next I
A.21
B.22
C.23
D.24
参考答案
更多 “ 执行下面的程序段后X的值为______。 x=5 For I=I To 20 Step2 x=x+I\5 Next IA.21B.22C.23D.24 ” 相关考题
考题
执行以下程序段 Dim i As Integer,X As Integer x=0 For i=20 To 1 Step -2 x=x+i\5 Next Print x 后,x的值为______。A. 16B.17C.18D.19
考题
执行以下程序段Dim i As Integer, x As Integerx = 0For i = 20 To 1 Step -2x = x + i \ 5NextPrint x后,x的值为( )。A.16B.17C.18D.19
考题
执行以下程序段后,x的值为( )。 Dim x As Integer,i As Integer x=0 For i=20 To 0 Step -2 x=x+i\5 Next iA.16B.17C.18D.19
考题
下面程序段运行后,变量X的值为【 】。Dim x AS IntegerDim I AS Integerx=0for I=0 to 50 step 10X=X+I。next IPrint X
考题
下列的程序段执行后,X的值为______。 K=0 For i=1 To 10 For j=i To 10 x= x + 1 Next j Next iA.50B.55C.100D.105
考题
执行下面的程序段,x的值为 Private Sub Commandl_Click() For i=1 To 5 a=a+i Next i x=Val(i) MsgBox x End SubA.5B.6C.7D.8
考题
执行以下程序段Dim x As Integer,i As Integerx=0For i=20 To 1 Step-2 x=x+i\5Next i后,x的值为A.16B.17C.18D.19
考题
执行以下程序段 Dim x As Integer, i As Integer x=0 For i=20 To Step -2 x=x+i\5 Next i 后,x的值为A.16B.17C.18D.19
考题
执行下面的程序段后,x的值为( )。 public class Sun { public static void main(String args[ ]) { int x=5; for(int i=l;i<=20;i=i+2) x=x+i/5; System.out.println(x); } }A.21B.22C.23D.24
考题
执行以下程序后i的值为()。main(){int x,i;for(i=l,x=1;i=20)break; if(x%5==1){x
执行以下程序后i的值为( )。 main() { int x,i; for(i=l,x=1;i<=36;i++) { if(x>=20) break; if(x%5==1) { x+=5;continue; } x-=5; ) printf("%d",i); }A.3B.4C.5D.6
考题
下列的程序段执行后,x的值为______。Private Sub Command1_Ciick() x =0 for i =1 To 10 for j = i To 10 x=x+1 Next j Next i Print xEnd SubA.50B.55C.5D.105
考题
下面的程序段执行后,X的结果为______。 X=0 For I=1 to 5 For j=I to 5 X=X+1 Next j Next I Print xA. 5B.10C.15D.20
考题
执行下面的程序段,x的值为 Private Sub Command1_Click( ) For i=1 To 5 a=a+i Next i x=Val(i) MsgBox x End SubA.5B.6C.7D.8
考题
.执行下面对面的程序后,X的值为( )x=50Fox i=1 To 20 Step 2x=x+i\5Next iA)66B)67C)68D)69
热门标签
最新试卷