first commit with existing project files

This commit is contained in:
Vincent Guillet
2025-04-02 11:33:15 +02:00
parent f447ea8a0f
commit c8e200b42f
18 changed files with 515 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
// Min et max tableau
let min = table[0];
let max = table[0];
for (let i = 0; i < table.length; i++) {
if(table[i] < min) min = table[i];
else if (table[i] > max) max = table[i];
}
console.log("Min: " + min);
console.log("Max: " + max);