A. 16
B.17
C.18
D.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
[单选题]有如下程序段: Dim I As Integer I=Int(-3.25)执行后,I的返回值是A.-3B.-4C.3D.3.25
[单选题]程序段如下: Dim i As Integer,s As Integer For i=4 To 1 Step-1 s=s+i Next i Print s,i执行的结果是( )。A.10 0B.9 1C.10 1D.9 0
[单选题]以下程序段的执行结果是 ______。 Dim a As Integer,b As Integer For a=4 To 1 Step-1 b=b+a Next a Print b, aA.100B.9 1C.10 1D.90
[试题]下面程序段运行后,变量x的值为上 [ ] 。D.im x As IntegerD.im i As Integerx=Ofor i=0 to 50 step 10X=X+inext i
[单选题]执行语句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后( )
[单选题]编写以下程序段: DIM I, J, K, A A=0 FOR I = 1 TO 3 FOR J = 1 TO I FOR K=-J TO 3 A=A+1 NEXT K NEXT J NEXT I 执行上面的三重循环后,变量A的值为( )。A.3B.9C.14D.21