Ejercicio 7 completado
This commit is contained in:
@@ -30,4 +30,9 @@ for (let i=3; i < maximo;i = i+3){
|
||||
let frutas = ["Manzana", "Banana", "Frutilla"];
|
||||
for (let fruta of frutas) {
|
||||
console.log(fruta);
|
||||
}
|
||||
}
|
||||
|
||||
function presentarse(nombre, edad){
|
||||
return ("me llamo "+nombre+" y tengo "+ edad+ " años.")
|
||||
}
|
||||
console.log(presentarse("Alejo",20))
|
||||
Reference in New Issue
Block a user