feat(triangleArea): adiciona funcao que calcula area do triangulo

This commit is contained in:
Vinicius 2022-11-02 16:34:34 -02:00
parent 70e8029676
commit 4b8c444933

View File

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