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

来源:学生作业帮助网 编辑:六六作业网 时间:2025/02/06 21:43:52
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