已知程序段: S=0 FOR I = 1 T() 10 STEP 2 S=S+1 I=I.2 NEXT I当循环结束后,变量I和s的值分别为( )。A.10和2B.11和5C.16和4D.22和3

已知程序段: S=0 FOR I = 1 T() 10 STEP 2 S=S+1 I=I.2 NEXT I当循环结束后,变量I和s的值分别为( )。

A.10和2

B.11和5

C.16和4

D.22和3


相关考题:

已知程序段 S=0 For i=1 To 10 step 2 S=S+1 i=i*2 Next i 当循环结束后,变量i,s的值分别为( )。A.10,6B.11,4C.22,3D.16,5

已知程序段: s=0 For i=0 to 10 step 2 S=S+1 i=i*2 Next i 当循环结束后,变量i、s值分别为( )。A.22,3B.11,4C.10,5D.16, 6

已知程序段: S=0 For i=0 to 10 step 2 S=S+1 i=i *2 Next i当循环结束后,变量i、S值分别为( )。A.22,3B.11,4C.10,5D.16,6

已知程序段:s=0ForI=1to10step2S=s+1I=I*2NextI当循环结束后,变量I的值为______。A.10B.11C.22D.16

已知程序段:s=0Fori=1To10Step2s=s+1i=i*2Nexti当循环结束后,变量i的值为______,变量s的值为______。A.104B.113C.223D.164

已知程序段: s = 0 For i = 1 To 10 Step 2 s = s + 1 i = i * 2 Next i 当循环结束后,变量i和s的值分别为______A.10 4B.11 3C.22 3D.16 4

已知程序段: s=0 For i=1 To 10 step 2 s=s+1 i=i*2 Next i 当循环结束后,变量i和变量s的值分别为。A.10,3B.11,4C.22, 3D.16,4

已知程序段: s=0 For i=1 to 10 step 2 s=s+1 i=i*2 Next i 当循环结束后,变量i的值为____。A.10B.11C.20D.16

已知程序段: s=0 For i=1 To 10 step 2 s=s+1 i=i*2 Next i 当循环结束后,变量i的值为(),变量s的值为()。A.10 3B.22 5C.22 3D.16 4