Exercise 5 · Chapter: While LoopsRequired+50 XP
Times Table
Read a number, then print its multiplication table from 1 to 5.
Example:
Input:
3
Output:
3 x 1 = 3 3 x 2 = 6 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15
Need a hint?
3 available · costs 5 XP each
javascript
Output
Run your code to see the output here.