feat(triangleArea): implementa funcao triangleArea

This commit is contained in:
DaviHKlein 2022-10-28 18:40:55 -03:00
parent 5733b31710
commit 8a5f3aac34

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;
} }