feat: implementa função da area do triangulo

This commit is contained in:
RodrigoJorge 2022-10-28 14:48:34 -03:00
parent 3cfb8bf78e
commit 7797328211

View File

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