markdown js_cc_03_practice_loop_intermediate_while

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown js_cc_03_practice_loop_intermediate_while相关的知识,希望对你有一定的参考价值。

    document.write('<table>');
    var i = 1;
    while (i <= 9) {
      document.write('<tr>');
      var j = 1;
      while (j <= 9) {
        document.write('<td>' + i + '*' + j  + '=' + (i * j) + '</td>');
        j++;
      }
      document.write('</tr>');
      i++;
    }
  document.write('</table>');
js_cc_03_practice_loop_intermediate_while
-----------------------------------------


A [Pen](https://codepen.io/m-shinkawa/pen/BVjvyJ) by [m-shinkawa](https://codepen.io/m-shinkawa) on [CodePen](https://codepen.io).

[License](https://codepen.io/m-shinkawa/pen/BVjvyJ/license).

以上是关于markdown js_cc_03_practice_loop_intermediate_while的主要内容,如果未能解决你的问题,请参考以下文章

markdown js_cc_03_practice_loop_elementary_while

markdown js_cc_03_practice_loop_elementary_for

markdown js_cc_05_practice_func_elementary

markdown js_cc_04_practice_array_advanced

markdown js_cc_04_practice_array_intermediate

markdown js_cc_04_practice_array_elementary