filmov
tv
JavaScript Program to Print Multiplication Table of a Given Number || DEVTECHHUB

Показать описание
JavaScript Program to Print Multiplication Table of a Given Number
Write a JavaScript program to input a number from user and print multiplication table of the given number using for loop.
Example
Input number: 6
Output
6 * 1 = 6
6 * 2 = 12
6 * 3 = 18
6 * 4 = 24
6 * 5 = 30
6 * 6 = 36
6 * 7 = 42
6 * 8 = 48
6 * 9 = 54
6 * 10 = 60
Required knowledge
Basic JavaScript programming, Arithmetic operators, Relational operators, For loop
Thank's For Watching This Video
Like and Share and Subscribe
Write a JavaScript program to input a number from user and print multiplication table of the given number using for loop.
Example
Input number: 6
Output
6 * 1 = 6
6 * 2 = 12
6 * 3 = 18
6 * 4 = 24
6 * 5 = 30
6 * 6 = 36
6 * 7 = 42
6 * 8 = 48
6 * 9 = 54
6 * 10 = 60
Required knowledge
Basic JavaScript programming, Arithmetic operators, Relational operators, For loop
Thank's For Watching This Video
Like and Share and Subscribe