s=0for i =1to10 step 2s=s+1i=i*2next i求循环结束后i与s的值for m=0 to 7 step 3for n=m-1 to m+1 next nnext m求内层循环次数
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/27 11:57:16
s=0fori=1to10step2s=s+1i=i*2nexti求循环结束后i与s的值form=0to7step3forn=m-1tom+1nextnnextm求内层循环次数s=0fori=1to1
s=0for i =1to10 step 2s=s+1i=i*2next i求循环结束后i与s的值for m=0 to 7 step 3for n=m-1 to m+1 next nnext m求内层循环次数
s=0
for i =1to10 step 2
s=s+1
i=i*2
next i
求循环结束后i与s的值
for m=0 to 7 step 3
for n=m-1 to m+1
next n
next m
求内层循环次数
s=0for i =1to10 step 2s=s+1i=i*2next i求循环结束后i与s的值for m=0 to 7 step 3for n=m-1 to m+1 next nnext m求内层循环次数
22,3
9
s=26 FOR I=1 TO10 STEP 2,S=S-I,ENDFOR 'S=',Ss=26 FOR I=1 TO10 STEP 2S=S-IENDFOR 'S=',S写出运行结果.
For i=1 To10 Step 2 s=s+i Next i Print i 的For i=1 To10 Step 2s=s+iNext iPrint i的输出结果是多少啊
s=0for i =1to10 step 2s=s+1i=i*2next i求循环结束后i与s的值for m=0 to 7 step 3for n=m-1 to m+1 next nnext m求内层循环次数
for k=1to10 step k a(k)=0 k=k+2 next k 此循环执行几次
vb里x=6 for k=1to10 step -2 x=x+k next k print k;x
s=1 for i=1 to 5 step 2 s=s+i endfor s
s=5 for i 2.6 to 4.9 step 0.6 s=s+1 next i 是怎样解的啊s=5for i 2.6 to 4.9 step 0.6 s=s+1 next i
for next 循环s=0for i=1 to 10 step 2s=s+1i=I*2next i当循环变量后,i,s的值各为()
SET TALK OFF CLEA S=0 FOR I=1 TO 10 STEP 1 S=S+I I=I+1 ENDF S SET TALK ON s为?
For.Next语句怎么算s=0for i=0 to 10 step 2s=s+1i=i*2next i这个计算过程是什么?
s=0 For i =1 to 10 step 2 s=s+1 i=i*2 next i 变量i、s的值各为——
For i = k - 1 To 1 Step -1 特别是为什么用step?)
dim I% ,S% s=0 for I=5 to 1 s=s+i next I print “s=” ; s 怎么看的 dim I% ,S%s=0for I=1 to 5 step -1s=s+inext Iprint “s=”;s 还有这个一起求解释~
For j = 10 To i + 1 Step -1
VB step1 还有for i=1 to 10 step
for i=1 to 10 step -2
for i=1 to 10 step -2
For i = 0 To 13 Step 4 i = i + 1 Next i Print i i=15