forked from M3-Academy/challenge-algorithms-v2.0
feat(triangleArea): fazendo funcão
This commit is contained in:
parent
8a8712c9ae
commit
2aac0d168b
@ -1,3 +1,3 @@
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
return (base * height) / 2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user