From e019957d8eee3d2993a29077f7a44565fc5774cd Mon Sep 17 00:00:00 2001 From: Valenti Taiel <45264983@terciariourquiza.edu.ar> Date: Thu, 14 May 2026 11:08:58 -0300 Subject: [PATCH] =?UTF-8?q?resoluci=C3=B3n=20del=20tercer=20ejercicio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ejercicios.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ejercicios.js b/ejercicios.js index cd35bdb..58fc7d5 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -20,6 +20,13 @@ if (edad2 >= 18) { } else { console.log('Estás en la infancia'); } +//Tercer Ejercicio +let maximo = 20; +let contador = 3; +while (contador < maximo) { + console.log(contador); + contador = contador + 3; +} +console.log("¡Llegaste al máximo!"); + -// Resolver acá los ejercicios propuestos. -//Segundo Ejercicio