feat(triangleArea): Implementacao da funcao triangleArea()

This commit is contained in:
Wellington Duarte Santos 2022-11-01 08:46:10 -03:00
parent 196c702f01
commit dd3cc81114

View File

@ -1,3 +1,5 @@
export function triangleArea(base, height) {
// your code here
let area = base * height / 2;
return area;
}