执行以下程序段
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.16
B.17
C.18
D.19
第1题:
执行下列程序段后,x的值为______。
Dim x As Integer, i As Integer
x=0
For i=20 To 1 Step -2
x=x +i\5
Next i
第2题:
执行以下程序段后,x的值为______。
Dim x As Integer,i As Integer
x=0
For i=20 To 1 Step -2
x=x+i\5
Next i
第3题:
执行下面的程序段后,x的值为 ______。 x=5 For I=1 To 20 Step 2 x=x+I\5 Next I
A.21
B.22
C.23
D.24
第4题:
执行以下程序段
Dim x As Integer,i As Integer
x=0
For i=20 To 1 Step-2 x=x+i\5
Next i
后,x的值为
A.16
B.17
C.18
D.19
第5题:
执行以下程序段 Dim x As Integer, i As Integer x=0 For i=20 To Step -2 x=x+i\5 Next i 后,x的值为
A.16
B.17
C.18
D.19