Skip to content
Snippets Groups Projects
Commit 80c3bcc5 authored by HUET Severin's avatar HUET Severin
Browse files

code exercice 2

parent 97e53fac
No related branches found
No related tags found
No related merge requests found
function deb1(): number{
let j = 200;
let tab: number[] = [];
for (let i=0; i<10; i++){
j -= 10;
tab[i] = j; // Stocker la valeur de j à chaque itération
}
return j;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment