0
Can anyone tell me, how to create tables..?
Tables like 5×1=5
6 ответов
+ 2
wrong language but should be easy to translate. This is called a multi dimensional array which is very commonly used for tables. It's basically an array inside an array and yes, you can use as many dimensions as you'd like
https://code.sololearn.com/cgcvA57byw3M/?ref=app
+ 1
thanks jordan
0
In javascript (don't know Java):
for(var i = 1;i<10;i++){
for(var k = 1;k<10;k++){
document.write(i + "*" + k + " = " + i*k + "<br>");
}
}
from 1*1 to 10*10
0
yea
0
I want to create tables in JavaScript