s=0 For i =1 to 10 step 2 s=s+1 i=i*2 next i 变量i、s的值各为——

问题描述:

s=0 For i =1 to 10 step 2 s=s+1 i=i*2 next i 变量i、s的值各为——

Private Sub Command1_Click()s = 0Print " s"," i"Print "----------------------"For i = 1 To 10 Step 2s = s + 1i = i * 2Print s,i ’每次循环S,I 的结果Next iPrint "----------------------"Print s,i ’循环...