下面程序段运行后,变量x的值为上 【 】 。Dim x As IntegerDim i As Integerx=Ofor i=0 to 50 step 10X=X+inext i
下面程序段运行后,变量x的值为上 【 】 。
Dim x As Integer
Dim i As Integer
x=O
for i=0 to 50 step 10
X=X+i
next i
相关考题:
以下程序段运行后x的值为()。 int a[8]={1,2,3,4,5,6,7,8},i,x=0; for(i=0;i<8;i++,i++) x=x+a[i];A.36B.16C.20D.18
执行下面的程序段后,x的值为()。 x = 5 For I = 1 To 20 Step 2 x = x + I 5 Next IA.21B.22C.23D.24