x=0 for i 1 to 3 x=x+2 print x
1个回答
x=0
for i = 1 to 3
x=x+2
print x
next
答案:
2
4
6
相关问题
X = 2;FOR I=1 TO 3; X = X * I;NEXT I;PRINT X.
For X=1 to 2 a=0 For y=1 to X+1 a=a+1 Next y Print a Next X
超初级的问题:x=8 for i=3 to5 print x next i
下列程序段运行后X的值是().x = 0 For i = 1 To 5 For j = i To 3 x = x + 1
x:=1 y:=-2; for i:=2 to 3 do y:=y+1-i x:=x+2 x:y:这是for循环,如果用
X=5 FOR i=1 to 20 step 2 x=x+i\5 next i
1)private sub command1_click() x=10:y=0 for i=1 to 5 do x=x-
X=5 For i=1 To 20 Step 2 x= x+ i \ 5 Next i 结果是多少
for i=1 to 6 if i =1 then x= i if i=4 then x=x+1
求X的值或范围 1,4X-X³=0 2,X³-9X>0 3,IX²-2X-3I≤0 4,I