diff --git a/9.html b/9.html index a41cd45..006b022 100644 --- a/9.html +++ b/9.html @@ -2,6 +2,11 @@ + diff --git a/9.js b/9.js index 4c11e37..94de120 100644 --- a/9.js +++ b/9.js @@ -1,13 +1,15 @@ function multiplicador(multipl) { + document.write(`

`) for (let i = 1; i < 11; i++) { document.writeln(`${multipl} * ${i} = ${i * multipl}
`) } // Adding horizontal line for visual clarity + document.write(`

`) document.writeln(`
`) } function main() { - // Declaring multi to hold the second number + // Declaring multi to hold the first number var multi = 1; // For loop that and for every time the multiplier function ends, run multi++ to sum