feat(triangleArea): implementa function
This commit is contained in:
parent
043eb1c50e
commit
875ec1b8d7
@ -1,3 +1,3 @@
|
|||||||
export function triangleArea(base, height) {
|
export function triangleArea(base, height) {
|
||||||
// your code here
|
return base * height /2;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user