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

This commit is contained in:
Emmanuel Vitor Pereira de Jesus 2022-10-31 11:40:29 -03:00
parent ada1b58282
commit 2ada1deee6

View File

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