From a79be06eadd12024a250f0d183b679e8d7548607 Mon Sep 17 00:00:00 2001 From: Sergio Madera De Marco <37299705@terciariourquiza.edu.ar> Date: Tue, 28 Apr 2026 19:56:16 -0300 Subject: [PATCH] punto 7: funcion presentarse con parametros --- ejercicios.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ejercicios.js b/ejercicios.js index 568c239..81c6d27 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -42,4 +42,10 @@ const frutas = ["manzana", "banana", "pera"]; for (let fruta of frutas) { console.log(fruta); -} \ No newline at end of file +} +// Punto 7 +function presentarse(nombre, edad) { + return "Me llamo " + nombre + " y tengo " + edad + " aƱos."; +} + +console.log(presentarse("Sergio", 33)); \ No newline at end of file