下面是代码 就当回忆下咯
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script type="text/javascript">
var i=1;
var j=1;
while (i<10){
while (j<=i){
document.write(j+‘*‘+i+‘=‘+j*i+‘ ‘+‘ ‘);
j++;
}
document.write(‘<br />‘);
j=1;
i++;
}
</script>
</head>
<body>
</body>
</html>
望各位看官不要嫌弃啊,谢谢啦
时间: 2024-10-12 23:30:59