GoConqr has a new look! Let us know what you think.

Module 14 of 35 · Text

#14

welligton costa

/ *

Operadores lógicos

---------------------------------

Este programa chama algumas funções que estão ausentes ou incompletas.

Atualize o código para obter o resultado esperado.

* /

 

function isNegative() {}

/*

DO NOT EDIT BELOW THIS LINE

--------------------------- */

console.log("Is -10 is a negative number?", isNegative(-10));

console.log("Is 5 a negative number?", isNegative(5));

console.log("Is 10 in the range 5-10?", isBetween5and10(10));

console.log("Is Daniel a short name?", isShortName("Daniel"));

console.log("Does Daniel start with 'D'?", startsWithD("Daniel"));

 

 

/ *

RESULTADO ESPERADO

---------------

-10 é um número negativo? verdade

5 é um número negativo? falso

10 está no intervalo de 5 a 10? verdade

Daniel é um nome curto? verdade

Daniel começa com 'D'?

* /

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?