forked from M3-Academy/challenge-algorithms-v2.0
Merge pull request 'feat: cria um algoritmo que retorna a area de um triângulo.' (#2) from feature/triangleArea into development/desafio-02
Reviewed-on: EmmanuelVitor/challenge-algorithms-v2.0-EmmanuelVitor#2
This commit is contained in:
commit
875b25cafe
@ -1,3 +1,4 @@
|
||||
export function triangleArea(base, height) {
|
||||
export function triangleArea(base, height) {
|
||||
// your code here
|
||||
return ((base * height) / 2);
|
||||
}
|
Loading…
Reference in New Issue
Block a user