From 924f2839fe2370fd8b87b742fd77fe2d23816fb9 Mon Sep 17 00:00:00 2001 From: Matheus Date: Wed, 2 Nov 2022 11:40:44 -0300 Subject: [PATCH] =?UTF-8?q?feat:=20cria=C3=A7=C3=A3o=20da=20resposta=20do?= =?UTF-8?q?=2002-triangleArea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-triangleArea/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..ace24c8 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,5 @@ export function triangleArea(base, height) { // your code here + let soma = base * height / 2 + return soma } \ No newline at end of file