From 9cd558dfdbb5bdb722782a70110085ab5fdd1b4b Mon Sep 17 00:00:00 2001 From: maximo hidalgo <47135001@gmail.com> Date: Mon, 4 May 2026 18:07:47 -0300 Subject: [PATCH] agrega variable maximo y su bucle --- ejercicios.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ejercicios.js b/ejercicios.js index 2625256..533302c 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -16,4 +16,10 @@ if (edad >= 18){ console.log(`${nombre} se encuentra en su adolecencia`); }else { console.log(`${nombre} se encuentra en su infancia`); +} +let maximo = 15; +let contador = 3; +while (contador < maximo){ + console.log(contador); + contador = contador + 3; } \ No newline at end of file