From 8d5f7f308a30f1880da567925a9c5130308f1e90 Mon Sep 17 00:00:00 2001 From: Bruno Date: Thu, 30 Apr 2026 22:14:10 -0300 Subject: [PATCH] Resolucion del 7mo ejercicio --- ejercicios.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index c32a8ab..f0b5ab4 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -37,4 +37,9 @@ for (let numero = 3; numero < maximo; numero = numero + 3) { const frutas = ["sandia", "kiwi", "manzana"]; for(const fruta of frutas) { console.log(fruta) -} \ No newline at end of file +} + +function presentarse(nombre, edad) { + return(`Me llamo ${nombre} y tengo ${edad} aƱos.`) +} +console.log(presentarse(nombre, edad)) \ No newline at end of file