forked from M3-Academy/challenge-algorithms-v2.0
feat: criar algoritmo que realize o cálculo da área do triangulo
This commit is contained in:
parent
0adbe1909e
commit
1b9c0dbafe
@ -1,3 +1,4 @@
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
var area = (base*height) / 2
|
||||
return area
|
||||
}
|
Loading…
Reference in New Issue
Block a user