This website requires JavaScript.
Explore
Help
Register
Sign In
Amandaalmeida
/
challenge-algorithms-v2.0-amanda-almeida
Watch
1
Star
0
Fork
0
You've already forked challenge-algorithms-v2.0-amanda-almeida
forked from
M3-Academy/challenge-algorithms-v2.0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
8aa3869a4f
challenge-algorithms-v2.0-a...
/
02-triangleArea
/
index.js
4 lines
97 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Feat(triangleArea): Adiciona logica do algoritmo que retorna a área de um triângulo
2022-10-28 18:24:33 +00:00
export
function
triangleArea
(
base
,
height
)
{
refactor(automacao): template desafio 2 automatizado
2022-10-27 15:07:13 +00:00
// your code here
Feat(triangleArea): Adiciona logica do algoritmo que retorna a área de um triângulo
2022-10-28 18:24:33 +00:00
return
(
base
*
height
)
/
2
;
refactor(automacao): template desafio 2 automatizado
2022-10-27 15:07:13 +00:00
}
Reference in New Issue
Copy Permalink