找回密码
 立即注册
搜索
热搜: 生活 中国

九九乘法表

[复制链接]
admin 发表于 2013-10-6 11:31:40 | 显示全部楼层 |阅读模式
9×9乘法表

 

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  4. <title>9×9乘法表</title>
  5. </head>
  6. <body>
  7. <script type="text/javascript">
  8. for(var i=1; i<=9; i++){
  9. for(var j=1; j<=i; j++){
  10. document.write(j+"x"+i+"="+(j*i)+"&nbsp;&nbsp;")
  11. }
  12. document.write("<br>");
  13. }
  14. </script>
  15. </body>
  16. </html>
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|生活导航|生活导航 ( 新ICP备12003026-1号 )

GMT+8, 2024-5-9 14:22 , Processed in 0.097313 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表