已知程序段: 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 4
B.11 3
C.22 3
D.16 4
相关考题:
已知程序段:s=0For i=1 To 10 Step 2s=s+1i=i*2Next 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 Nexti 当循环结束后,变量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的值为(),变量s的值为()。A.10 3B.22 5C.22 3D.16 4