For i = 0 To 13 Step 4 i = i + 1 Next i Print i i=15

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/24 01:12:37
Fori=0To13Step4i=i+1NextiPrintii=15Fori=0To13Step4i=i+1NextiPrintii=15Fori=0To13Step4i=i+1NextiPrint

For i = 0 To 13 Step 4 i = i + 1 Next i Print i i=15
For i = 0 To 13 Step 4 i = i + 1 Next i Print i i=15

For i = 0 To 13 Step 4 i = i + 1 Next i Print i i=15
赋值给i 循环13次,跳4次为一次
1,i=0 i=I+1 i=1
2,i=1+4 i=5+1 i=6
3,i=6+4 i=10+1 i=11
4,i=11+4>13 结束循环 i=15