feat: feita a logica do triangleArea

This commit is contained in:
Ítalo Rosa Gonçalves 2022-11-02 13:35:49 -03:00
parent d04d6a7492
commit c54a67e0d5

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