GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 17 von 35 · Text

#17

welligton costa

  

/ *

Condicionais

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

Escreva uma função que verifique se um aluno foi aprovado

- se a nota for 80 ou mais, a nota é "A"

- se a nota for inferior a 80 e superior a 60, a nota é "B"

- se a nota for 60 ou inferior, mas não inferior a 50, a nota é "C"

- Caso contrário, a nota é "F"

* /

function containsCode(sentence) {

}

/*

DO NOT EDIT BELOW THIS LINE

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

var sentence1 = "code your future";

var sentence2 = "draw your future";

var sentence3 = "design your future";

console.log("'" + sentence1 + "': " + containsCode(sentence1))

console.log("'" + sentence2 + "': " + containsCode(sentence2))

console.log("'" + sentence3 + "': " + containsCode(sentence3))

 

 


/ *

RESULTADO ESPERADO

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

'codifique seu futuro': verdadeiro

'desenhar seu futuro': falso

'projete seu futuro': falso

* /

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck