From c630beae8c4ed8330e13d958b9ffcec63049b7ad Mon Sep 17 00:00:00 2001 From: Carlos Scantbelruy Date: Fri, 28 Oct 2022 07:53:32 -0400 Subject: [PATCH] Soma da area do triangulo --- 02-triangleArea/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..2c14ebf 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,3 @@ export function triangleArea(base, height) { - // your code here + return (base*height)/2 } \ No newline at end of file