CJCoding With Joseph

Multiplication Table of 4

Use a for loop to print the multiplication table of 4, from 1 to 10. Print each line in the format '4 x i = result' with each line on its own row.

Expected output:
4 x 1 = 4
4 x 2 = 8
...
4 x 10 = 40

Expected Output:

4 x 1 = 4
4 x 2 = 8
4 x 3 = 12
4 x 4 = 16
4 x 5 = 20
4 x 6 = 24
4 x 7 = 28
4 x 8 = 32
4 x 9 = 36
4 x 10 = 40
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.