设有如下程序段: 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
相关考题:
设有如下程序: 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
设有如下程序: 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