From 208a8f8bf940998f5ae3506a65edc0fcd57e018a Mon Sep 17 00:00:00 2001 From: ThiagoDuutra Date: Fri, 28 Oct 2022 16:08:31 -0300 Subject: [PATCH] feat: Resolvido questao triangleArea --- 02-triangleArea/index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..00121cc 100644 --- a/02-triangleArea/index.js +++ b/02-triangleArea/index.js @@ -1,3 +1,4 @@ -export function triangleArea(base, height) { +export function triangleArea(base, height) { // your code here -} \ No newline at end of file + return (base * height) / 2; +}