feat: cria um algoritmo que retorna a area de um triângulo. #2

Merged
emmanuelvitor merged 1 commits from feature/triangleArea into development/desafio-02 2022-10-31 14:43:54 +00:00

View File

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