feat: adicionando solução do 2° desafio

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-10-28 07:54:38 -03:00
parent b40d4b432f
commit ae920dca29

View File

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