JavaScript Tutorial - 2

Task 4: Produce a table of squares from 1 to 100.
Your output should look something like this.
You will need to know that * is the multiplication sign.

Check.
numbersquare
11
24
39
...
10010000
Task 5: Add a cubes column (eg the cube of 3 is 3 x 3 x 3 = 27). Check.

Factorials

1!1
2!2
3!6
...
10!3628800
Challenge 2: Generate this table.
eg 5! = 5 x 4 x 3 x 2 x 1
You may also need to know that "j <= 5" means "j is less than OR equal to 5".
12345678910
2468101214161820
36912151821242730
481216202428323640
5101520253035404550
6121824303642485460
7142128354249566370
8162432404856647280
9182736455463728190
102030405060708090100
Challenge 3: Generate this multiplication table.

HOME Table of Contents Previous Next