From 559ae830cdab57ca62b4686dbc40f356bc9568ad Mon Sep 17 00:00:00 2001 From: Alice Date: Mon, 30 Mar 2026 19:18:23 +0300 Subject: [PATCH] Project MathsTable version 1 --- 5/Projects/MathsTable.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 5/Projects/MathsTable.js 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