diff --git a/ejercicios.js b/ejercicios.js index 9efd6a3..63984f4 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -26,4 +26,10 @@ let inicio = 3 while (inicio < maximo) { console.log(inicio); inicio = inicio + 3 +} + +maximo = 45 + +for (let numero = 3; numero < maximo; numero = numero + 3) { + console.log(numero); } \ No newline at end of file