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

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 16:37:09
VBScript中用for next循环语句求1到100内的奇偶数写详细点

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

VBScript中用for next循环语句求1到100内的奇偶数写详细点
下面的程序调试通过:
s=""
for i=1 to 99 step 2
s=s & i & " "
next
msgbox s