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

学习 时间:2026-06-05 18:52:42 阅读:7118
s=0 For i =1 to 10 step 2 s=s+1 i=i*2 next i 变量i、s的值各为——

最佳回答

平常的乌龟

深情的蛋挞

2026-06-05 18:52:42

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 ’循环结束后S,I 的结果End Su

最新回答共有2条回答

  • 愉快的小兔子
    回复
    2026-06-05 18:52:42

    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 ’循环结束后S,I 的结果End Su

上一篇 求《狼 一则》的阅读答案!

下一篇 那儿有卖磨砂口玻璃瓶的?