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

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/15 19:06:07
VBScript中用fornext循环语句求1到100内的奇偶数写详细点VBScript中用fornext循环语句求1到100内的奇偶数写详细点VBScript中用fornext循环语句求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