JAVASCRIPT : Print multiplication tables

preview_player
Показать описание
Print multiplication tables

conditions :
1. n should be entered in a JS prompt on the browser.
2. The input should be a valid number (use parseInt).
3. The output should be shown on the console in the following format (assuming n is 5):

sample output

5 * 1 = 5
5 * 2 = 10
.
.
.
5 * 10 = 50
Рекомендации по теме