VBScript中用for next循环语句求1到100内的奇偶数写详细点

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/28 13:38:57

VBScript中用for next循环语句求1到100内的奇偶数写详细点

下面的程序调试通过:
s=""
for i=1 to 99 step 2
s=s & i & " "
next
msgbox s