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