<Feture>(triangleArea): implementação do código triangleArea

This commit is contained in:
Gabriel Ferraz Nogueira 2022-10-28 11:47:59 -03:00
parent 28178d520e
commit 38c50ef28f

View File

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