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

学习 时间:2026-03-30 12:01:58 阅读:4514
s=0 For i =1 to 10 step 2 s=s+1 i=i*2 next i 变量i、s的值各为——

最佳回答

纯真的电脑

高兴的战斗机

2026-03-30 12:01:58

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-03-30 12:01:58

    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

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

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