From d568d8b01291d7470a2ca7abc1b66145256f268d Mon Sep 17 00:00:00 2001 From: Valenti Taiel <45264983@terciariourquiza.edu.ar> Date: Mon, 25 May 2026 23:22:29 -0300 Subject: [PATCH] resolucion cuarto ejercicio --- ejercicios.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index df2af0d..e44b2ea 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -55,7 +55,13 @@ const estudiantes = [ { nombre: "Marta", nota: 95 }, { nombre: "Carlos", nota: 60 } ]; - +const notas = estudiantes.map(n => n.nota); +let suma = 0; +for (let i = 0; i