Practice with JavaScript loops and if statements

Notes from April 18, 2005 class

Today we:

  1. went over the assignments due Wednesday and Friday, and

  2. divided into four groups and worked in class on these challenges:

    1. Using "for" loops, create a JavaScript that will print out the multiplication tables from 1 x 1 = 1 through 12 x 12 = 144.
      Team project result for multiplication using "for" loop (view the source to see the JavaScript)

    2. Using "while" loops, create a JavaScript that will print out the multiplication tables from 1 x 1 = 1 through 12 x 12 = 144.
      Team project result for multiplication using "while" loop (view the source to see the JavaScript)

    3. Using "for" loops, create a JavaScript that will print out the division tables from 1 x 1 = 1 through 12 x 12 = 144.
      Team project result for division using "for" loop (view the source to see the JavaScript)

    4. Using "while" loops, create a JavaScript that will print out the division tables from 1 x 1 = 1 through 12 x 12 = 144.
      Team project result for division using "while" loop (view the source to see the JavaScript)