forked from M3-Academy/challenge-algorithms-v2.0
Merge pull request 'feat(desafio02):desafio-completo' (#2) from feature/desafio02 into develop
Reviewed-on: #2
This commit is contained in:
commit
679da343f2
@ -1,3 +1,5 @@
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
let area = base * height / 2
|
||||
return area
|
||||
}
|
Loading…
Reference in New Issue
Block a user