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);
}
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);
}
© 2024 python tutorials. python-tutorials.in