feat: criar algoritmo que realize o cálculo da área do triangulo

This commit is contained in:
HUMBERTO ANTONIO CORREIA FERRO 2022-10-29 07:20:27 -03:00
parent 0adbe1909e
commit 1b9c0dbafe

View File

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