+ 1

# /*help me please make a multiplication table. I can't increase the numbers from 3 to 9*/

let twoNumber = 2; let nineNumber = 9; for (let i = 1; i <= 10; i++) { document.write (i * twoNumber + " ") for(let j=1; j<nineNumber; j++) { document.write (i * (twoNumber + 1) + " ") } document.write("<br>") }

5 Answers

+ 4

let twoNumber = 2;
let nineNumber = 9;
for (let i = 1; i <= 10; i++) {
// document.write (i * twoNumber + " ")
for(let j=1; j<nineNumber; j++) {
document.write (i * (j + 1) + " ")
}
document.write("<br>")
}

0

Simba, thank you, I solve this just now through an array
let twoNumber = [2, 3, 4, 5, 6, 7, 8, 9];
for (let i = 1; i <= 10; i++) {
document.write (twoNumber[0] * i + " ")
for(let j=1; j<twoNumber[6]; j++) {
document.write ((twoNumber[j]) * i + " ")
}
document.write("<br>")
}

0

for i in range(3,21):
for j in range(1,11):
print(f"{i}×{j}=",i*j)

0

No entiendo una