forked from M3-Academy/challenge-algorithms-v2.0
(feat)finalizando teste 02 triagleArea
This commit is contained in:
parent
b52c44f39b
commit
8e78769206
@ -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