在VB程序中,以下程序段执行后,x的值为( )x=5For i=1 To 20 Step 2x=x+i\5Next iA.21B.22C.23D.24

在VB程序中,以下程序段执行后,x的值为( )

x=5

For i=1 To 20 Step 2

x=x+i\5

Next i

A.21

B.22

C.23

D.24


相关考题:

执行下面的程序段后,x的值为( )。 x=50 Fori=1 To 20 Step2 x=X+i\5 Next iA.66B.67C.68D.69

执行以下程序段 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 Integerx=0For i=20 To 1 Step -2x=x +i\5Next i

执行以下程序段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

执行以下程序段后,x的值为______。Dim x As Integer,i As Integerx=0For i=20 To 1 Step -2x=x+i\5Next i

执行下面的程序段后,x的值为 ______。 x=5 For I=1 To 20 Step 2 x=x+I\5 Next IA.21B.22C.23D.24

执行下面的程序段后,x的值为x=5For I=1 To 20 Step 2x=x+I\5Next IA.21B.22C.23D.24

执行下面的程序段后,X的值为( )。X=1FOR I = 1 TO 20 STEP 2X=X+I\5NEXT IA.21B.22C.23D.24