下面程序段运行后,变量X的值为【 】。Dim x AS IntegerDim I AS Integerx=0for I=0 to 50 step 10X=X+I。next IPrint X
下面程序段运行后,变量X的值为【 】。
Dim x AS Integer
Dim I AS Integer
x=0
for I=0 to 50 step 10
X=X+I。
next I
Print X
相关考题:
执行以下程序段 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
执行以下程序段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