设有如下程序段: x=2 For i=1 To 10 Step 2 x=x+i Next 运行以下程序后,x的值是( )。A.26B.27C.38D.57

设有如下程序段: x=2 For i=1 To 10 Step 2 x=x+i Next 运行以下程序后,x的值是( )。

A.26

B.27

C.38

D.57


相关考题:

设有如下程序段:x=2For i=1 To 10 Step 2x=x+iNext运行以上程序后,x的值是( )。A.26B.27C.38D.57

下面程序段运行后,变量X的值为【 】。Dim x AS IntegerDim I AS Integerx=0for I=0 to 50 step 10X=X+I。next IPrint X

设有如下程序段: x=2 For i=1 To 10 Step2 x=x+i Next 运行以上程序后,x的值是A.26B.27C.38D.57

设有如下程序: Private Sub Form. Click( ) Dim i As Integer,x As String,y As String x="ABCDEFG" For i=4 To 1Step-1 y=Mid(X,i,i)+y Next i Print y End Sub 程序运行后,单击窗体,输出结果为( )。A.ABCCDEDEFGB.AABBCDEFGC.ABCDEFGD.AABBCCDDEEFFGG

设有如下程序段: x=2 For i=1 to 10 Step 2 x=x+i Next 运行以上程序后,x的值是______。A.26B.27C.38D.57

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

设有如下程序段: x=2 For i=1 To 10 Step 2 x= x+i Next 运行以下程序后,x的值是A.26B.27C.38D.57

设有如下程下段: x=2 For i=1 To 10 Step 2 x=x+i Next运行以上程序后,x的值是A.26B.27C.38D.57

设有如下程序: Private Sub Form. Click( ) Dim i As Integer,x As String,y As String x=ABCDEFGFor i=4 To 1Step-1y=Mid(X,i,i)+yNext iPrint yEnd Sub程序运行后,单击窗体,输出结果为( )。A.ABCCDEDEFGB.AABBCDEFGC.ABCDEFGD.AABBCCDDEEFFGG