feat: 02-triangleArea

This commit is contained in:
Adilson Fernando Neves Ornellas 2022-10-28 22:47:31 -03:00
parent e251fd23fc
commit 7f6f041de4

View File

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