feat(triangleArea): Adicionando o algoritmo que retorna a area de um triangulo.

This commit is contained in:
Savio Carvalho Moraes 2022-10-30 14:21:30 -03:00
parent 5aad59c76a
commit 71b6572744

View File

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