feat(triangleArea): Implementa função triangleArea

This commit is contained in:
danielmoliaribarbosa 2022-10-28 14:47:18 -03:00
parent 3c0bfc1f1c
commit 5cf92a84c1

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