0
Hello, I’m not able to solve these two issues, could help me.
function dobroDoNumero (){
var dobroA = 4+4;
var dobroB = 7+7;
var dobroC = 8+-8;
var resultado = dobroA+ ', ' +dobroB+ ', ' +dobroC
return resultado
}
function metade(){
var num1 = 4/2;
var num2 = 60/2;
var num3 = 30/2;
var resultado = num1+ ', ' +num2+ ', ' +num3;
return resultado
console.log(resultado)
}
Thank you :)
What’s the problem with the first code?
– Maury Developer
Avoid cossole.log after Return:
function metade(){
 var num1 = 4/2;
 var num2 = 60/2;
 var num3 = 30/2;
 var resultado = num1+ ', ' +num2+ ', ' +num3; console.log(resultado)

 return resultado
 }
– Maury Developer
Explain better what is the problem with the codes
– Juliana Marques