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