feat(triangleArea): fazendo funcão

This commit is contained in:
Caroline Moran 2022-10-28 07:34:26 -04:00
parent 8a8712c9ae
commit 2aac0d168b

View File

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