日期:2014-05-17  浏览次数:21156 次

求一个输出九九乘法表的函数
格式:
1*1=1
1*2=2   2*2=4
.
.
.

------解决方案--------------------
<script type= "text/vbscript ">
function show99()
for i = 1 to 9
for n = 1 to i
document.write(n& "× "&i& "= "&n*i&chr(32))
next
document.write( " <br/> ")
next
end function
show99
</script>