diff --git a/ejercicios.js b/ejercicios.js index 369b1f9..21b8837 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -18,4 +18,11 @@ if (edad > 18) { console.log(`Hola, ${nombre}!, usted esta en su adolescencia.`); } else { console.log(`Hola, ${nombre}!, usted esta en su infancia.`); +} + +let maximo = 0; + +while (maximo < 15) { + console.log(maximo); + maximo = maximo + 3; } \ No newline at end of file