forked from caroline_moran/algoritmos-para-estudar
Compare commits
No commits in common. "74fc6b2d1d8d18058f20c946cd3dd264d3cfd721" and "5a8247168ebf6824c29a4d832ed4fb735b99d449" have entirely different histories.
74fc6b2d1d
...
5a8247168e
@ -20,9 +20,9 @@
|
||||
for(let j = 0;j < 20; j++){
|
||||
indice = Math.floor(Math.random()* letras.length);
|
||||
array[j] = letras[indice];
|
||||
if(j % 3 == 0){
|
||||
array[j] = "0";
|
||||
}
|
||||
}
|
||||
for(let i = 2;i < 20; i += 3){
|
||||
array[i] = "0";
|
||||
}
|
||||
let string = array.join("");
|
||||
console.log(string);
|
||||
@ -48,6 +48,7 @@
|
||||
console.log(a[i]);
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user