请大家帮帮忙,用VBscript修改以下程序,要做作业,谢谢~~

来源:百度知道 编辑:UC知道 时间:2024/06/13 19:50:03
修改程序:<html><pre><script language="vbscript">
dim i,j
for i=1 to 10
for j=1 to 10
if i>=1 then
document.write((i)&space(1))
else
document.write("1")
end if
next
document.writeln(j)
next
</script></pre></html>
使之输出图形:
0123456789
1012345678
1101234567
1110123456
1111012345
1111101234
1111110123
1111111012
1111111101
1111111110

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<pre>
<script language="vbscript">
dim i,j ,h
for j=0 to 9

for i=0 to 9
if j-i >0 then
document.write 1
else
h = i-j
document.write h
end if
next
document.writeln " "
next
</script></pre>
<body>
</body>
</html>

现在对了

记得结帐!