Program JavaScript untuk Menampilkan Tabel Perkalian (dengan Contoh)

Contoh 1: Tabel Perkalian Hingga 10 // program to generate a multiplication table // take input from the user const number = parseInt(prompt(‘Enter an integer: ‘)); //creating a multiplication table for(let i = 1; i <= 10; i++) { // multiply i with number const result = i * number; // display the result console.log(`${number} […]

Read more »