topical media & game development

talk show tell print

basic-javascript-appendix-3-ch03-q3.htm / htm



  <HTML>
  <BODY>
  <SCRIPT LANGUAGE=JavaScript>
  function writeTimesTable(timesTable, timesByStart, timesByEnd)
  {
     for (;timesByStart <= timesByEnd; timesByStart++)
     {
        document.write(timesTable + " * " + timesByStart + " = " + timesByStart * timesTable + "<BR>");
     }
  }
  
  writeTimesTable(4,4,9);
  </SCRIPT>
  </BODY>
  </HTML>
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.