diff --git a/02-triangleArea/index.js b/02-triangleArea/index.js index 7628fcd..b3f0627 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