九九表


VBScript 代码(P140)

<Script Language="VBScript">

Document.Write

("<p align=center>用循环语句实现九九表<br><center><table border=1>")

For i=1 to 9

Document.Write("<tr>")

For j=1 to 9

Document.Write("<td>"&i&"X"&j&"="&i*j&"</td>")

Next

Document.Write("</tr>")

Next

Document.Write("</table></center>")

</script>