|
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. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Task 5: Add a cubes column (eg the cube of 3 is 3 x 3 x 3 = 27). Check. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Factorials
|
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". |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Challenge 3: Generate this multiplication table. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HOME | Table of Contents | Previous | Next |