<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<script>
//打印99乘法表
for (var i = 1; i <= 9; i++) {
for (var j = 1; j <= i; j++) {
document.write(j + "×" + i + "=" + i * j + "\t");
}
document.write("<br />");
}
</script>
</head>
<body>
</body>
</html>
原文地址:https://www.cnblogs.com/cxymm/p/9569311.html
时间: 2024-10-04 03:23:44