feat: Soluciona o exercício 02 - Área do triângulo

This commit is contained in:
Eleonora Otz de Mendonça Soares 2022-10-28 11:35:45 -03:00
parent 7b01f4ee19
commit ca578df017

View File

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