From 198be8a0aafa2c3a44c5202b4d2add3f354e9f40 Mon Sep 17 00:00:00 2001 From: MateusLopes Date: Mon, 31 Oct 2022 21:24:47 -0300 Subject: [PATCH] feat(triangleArea): algoritmo concluido --- 02-triangleArea/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..65f4b7e 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,4 @@ export function triangleArea(base, height) { // your code here + return (base * height) / 2 } \ No newline at end of file