challenge-algorithms-v2.0-P.../02-triangleArea/index.js
2022-10-30 10:27:00 -03:00

5 lines
97 B
JavaScript

export function triangleArea(base, height) {
return (base * height) / 2;
// your code here
}