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