leandre.clochard
3 years ago
2 changed files with 21 additions and 4 deletions
@ -0,0 +1,19 @@ |
|||||
|
let machine_sous = new Object(); |
||||
|
//machine_sous.argent = int(input("Saississez votre somme de départ: "))
|
||||
|
machine_sous.nombres = [] |
||||
|
machine_sous.bank = 1000 |
||||
|
machine_sous.mise = -1 |
||||
|
machine_sous.gains = 0 |
||||
|
|
||||
|
function controle(){ |
||||
|
var saisie = document.getElementById("input").value; |
||||
|
alert("Vous avez saisi : "+ saisie); |
||||
|
} |
||||
|
|
||||
|
function test(taille){ |
||||
|
for(let i=0; i<taille; i++){ |
||||
|
console.log(i) |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
test(15); |
Loading…
Reference in new issue