D.im x As Integer
D.im i As Integer
x=O
for i=0 to 50 step 10
X=X+i
next i
[单选题]执行以下程序段后,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
[单选题]下列程序执行后,变量S的值为 Dim s As Long,x As Integer s=0 For x=1 To 10 Step 2 s=s+x Next x Text1.Text=sA.10B.25C.50D.100
[单选题]下列程序执行后,变量S的值为______ 。 Dim s As Long,X As Integer s=0 X=1 Do While x<10 s= s+ x x=x+2 Loop Print sA. 10B.25C.50D.100
[单选题]执行以下程序段 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 X,Y As Integer后,______。A.X和Y均被定义为整型变量B.X和Y均被定义为变体类型变量C.X被定义为整型变量,Y被定义为变体类型变量D.X被定义为变体类型变量,Y被定义为整型变量
[单选题]执行语句Dim X,Y As Integer后,( )。A.X、Y均被定义为整型变量B.X、Y均被定义为变体类型变量C.X被定义为整型变量,Y被定义
[单选题]执行语句 Dim X, Y as Integer 后,()A . X和Y均被定义为整型变量B . X和Y被定义为变体类型变量C . X被定义为整型变量,Y被定义为变体类型变量D . X被定义为变体类型变量,Y被定义为整型变量
[单选题]执行语句Dim X,Y As Integer后( )
[单选题]下列程序段运行后,其运行结果是( )。D.im a(3) As Integer, b(3) As IntegerF.or k = 0 To 3a(k) = k*k +kb(k) = a(k)-kNext kPrint a(2) + b(1)A. 5B. 6C. 7D. 8
[单选题]下列程序执行后,变量x的值为( )。D.im a,b,c,d As SingleD.im x As Singlea=10b=30c=400If b>a Thend=a:a=b:b=dE.nd IfIf b>c Thenx=bE.lse If a>c Thenx=cE.lsex=aE.nd IfA.10B.30C.400D.430