forked from M3-Academy/challenge-algorithms-v2.0
feature: resolve exercício 02-triangleArea
This commit is contained in:
parent
e0b3b1ba9d
commit
2bfde39465
@ -1,3 +1,3 @@
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
return base * height /2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user