diff --git a/5/Projects/MathsTable.js b/5/Projects/MathsTable.js new file mode 100644 index 0000000..a65ef93 --- /dev/null +++ b/5/Projects/MathsTable.js @@ -0,0 +1,12 @@ +const table = []; + +const value = 24; + +for (let x = 0; x < value + 1; x++) { + const temp = []; + for (let y = 0; y < value + 1; y++){ + temp.push(x*y); + } + table.push(temp); +} +console.table(table); \ No newline at end of file