forked from M3-Academy/challenge-algorithms-v2.0
Merge branch 'feature/trianglearea' into development
This commit is contained in:
commit
cf3176c2f3
@ -1,3 +1,5 @@
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
let result = base * height / 2;
|
||||
return result;
|
||||
}
|
Loading…
Reference in New Issue
Block a user