JavaScript program to display the multiplication table of a given number:

python tutorials and learn python

Created with Sketch.

JavaScript program to display the multiplication table of a given number:

let number = 5;

for (let i = 1; i <= 10; i++) {
  console.log(number + " x " + i + " = " + number * i);
}

Leave a Reply

Your email address will not be published. Required fields are marked *