feat(triangleArea): Responde função 02

This commit is contained in:
Affonso Kopmann 2022-10-30 15:24:46 -03:00
parent 7115bcd5b5
commit 48e509acc9

View File

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