forked from M3-Academy/challenge-algorithms-v2.0
: feat(triangleArea): adicionando funcionalidade
This commit is contained in:
parent
9af48904cc
commit
10363ad614
@ -1,4 +1,4 @@
|
|||||||
export function greet(name) {
|
export function greet(name) {
|
||||||
// implementar logica aqui
|
|
||||||
return `Hello ${name}`;
|
return `Hello ${name}`;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
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