feat(greeting and triangleArea): Implementa função que cumprimenta a pessoa e outra que calcula a área do triângulo

This commit is contained in:
Saulo Klein Nery 2022-10-28 12:59:25 -03:00
parent c6f6df9c59
commit d131c98dd1
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,4 @@
export function greet(name) {
// implementar logica aqui
return "";
return `Hello ${name}`;
}

View File

@ -1,3 +1,4 @@
export function triangleArea(base, height) {
// your code here
return base * height / 2;
}