s=20 For i=1 to 5 setp2 S=S-i Next i print S 到底怎么个算法?
s=20 For i=1 to 5 setp2 S=S-i Next i print S 到底怎么个算法?
dim I% ,S% s=0 for I=5 to 1 s=s+i next I print “s=” ; s 怎么看的
vb题 s=0:n=5 for i=1 to n s=s+i next i print s;i 结果怎么是15
s=0 For i=1 to 10 step 2 s=s+i Next Print s
For i=1 To10 Step 2 s=s+i Next i Print i 的
s = 0 For i = 1 To 10 Step 3 s = s + i Next i Print s s的解是什么
s=0,for i=1 to 5,for j=1 to i,for k=j to 4,s=s+1,next k,next
Dim a(4) s=0 For i=1 to 4 s=s+a(i) Next i
For i = 2.6 To 4.9 Step 0.6 s = s + 1 Next i
s = 2 For i = 3.2 To 4.9 Step 0.8 s = s + 1 next i
有如下Visual Basic程序段:s = 0 For i = 1 To 5 s = s + i Next i 该程序
已知程序段:s=0 For i =1 to 10 step 2 s = s+1 i = i * 2 Next i 当循环