feat: resolucao triangleArea

This commit is contained in:
Guilherme de Camargo Barbosa 2022-10-29 15:57:06 -03:00
parent bbd1e894aa
commit 7983706a5a

View File

@ -1,3 +1,7 @@
export function triangleArea(base, height) {
// your code here
}
const areaTriangle = (base * height) / 2
return areaTriangle
}
triangleArea(10, 15)