0

Can anyone tell me, how to create tables..?

Tables like 5×1=5

27th Aug 2017, 3:30 PM
Kshatriya Abhinav Singh A.
Kshatriya Abhinav Singh A. - avatar
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
27th Aug 2017, 4:03 PM
Jordan Chapman
Jordan Chapman - avatar
+ 1
thanks jordan
27th Aug 2017, 4:04 PM
Kshatriya Abhinav Singh A.
Kshatriya Abhinav Singh A. - avatar
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
27th Aug 2017, 3:36 PM
Αητοιπe
Αητοιπe - avatar
0
yea
27th Aug 2017, 4:00 PM
Kshatriya Abhinav Singh A.
Kshatriya Abhinav Singh A. - avatar
0
I want to create tables in JavaScript
27th Aug 2017, 4:00 PM
Kshatriya Abhinav Singh A.
Kshatriya Abhinav Singh A. - avatar