diff --git a/ejercicios.js b/ejercicios.js index 01db74c..ac9dc43 100644 --- a/ejercicios.js +++ b/ejercicios.js @@ -47,4 +47,12 @@ for (let i = 3; i < maximo; i += 3){ let frutas = ["durazno", "banana", "frutilla"]; for (const fruta of frutas) { console.log(fruta); -} \ No newline at end of file +} + +// Ejercicio 7 + +function presentarse(nombre, edad){ + return `Me llamo ${nombre} y tengo ${edad}` +} + +console.log(presentarse("Naila", 19)); \ No newline at end of file