Posts by Erick Oliveira • 1 point
1 post
-
-2
votes10
answers5627
viewsA: Function that returns if one can go to the database with true/false?
function possoIrAoBanco(diaDaSemana, horaAtual) { return diaDaSemana != "Sábado" && diaDaSemana != "Domingo" && horaAtual >= 9 && horaAtual <=15; } I did the same…