This website requires JavaScript.
Explore
Help
Register
Sign In
emmanuelvitor
/
challenge-algorithms-v2.0-EmmanuelVitor
Watch
1
Star
0
Fork
0
You've already forked challenge-algorithms-v2.0-EmmanuelVitor
forked from
M3-Academy/challenge-algorithms-v2.0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
8ef075e164
challenge-algorithms-v2.0-E...
/
02-triangleArea
/
index.js
4 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
feat: cria um algoritmo que retorna a area de um triângulo.
2022-10-31 14:40:29 +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: cria um algoritmo que retorna a area de um triângulo.
2022-10-31 14:40:29 +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