From 5e23c7822dd0ce8f77a5774c7184720c57f832a2 Mon Sep 17 00:00:00 2001 From: Alexis08041992 Date: Thu, 30 Apr 2026 15:54:27 -0300 Subject: [PATCH] completada consigna 3 --- ejercicios.js | 7 +++++++ 1 file changed, 7 insertions(+) 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