5 lines
112 B
JavaScript
Raw Normal View History

2022-10-28 09:52:27 -03:00
export function triangleArea(base, height) {
// your code here
2022-10-28 09:52:27 -03:00
let area = base * height / 2
return area
}