forked from M3-Academy/challenge-algorithms-v2.0
feat: implementa função da area do triangulo
This commit is contained in:
parent
3cfb8bf78e
commit
7797328211
@ -1,4 +1,4 @@
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
return (base * height) / 2;
|
||||
return (base * height) / 2 ;
|
||||
}
|
Loading…
Reference in New Issue
Block a user