diff --git a/ejercicios.js b/ejercicios.js index 3ee0fca..179f1b4 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -28,4 +28,12 @@ while (numero < maximo) { console.log(numero); } numero++; +} +// Punto 5 +let maximo2 = 15; + +for (let i = 1; i < maximo2; i++) { + if (i % 3 === 0) { + console.log(i); + } } \ No newline at end of file