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