<script type="text/javascript">
//乘法口诀表
for (var i = 1; i < 10; i++) {
for (var j = 1; j <= i; j++) {
var sum=i*j;
document.write(i+"x"+j+"="+sum+" ");
}
document.write("<br/>");
}
</script>

posted on 2017-08-21 22:37  Smile小小  阅读(838)  评论(0编辑  收藏  举报