Module 12 of 35 · Text
#12
/ *
Condicionais
---------------------------------
Adicione uma instrução if para verificar a função de Daniel em uma classe CYF.
Se Daniel for um mentor, imprima "Oi, sou Daniel, sou um mentor."
Se Daniel for um estudante, imprima "Oi, sou Daniel, sou um estudante."
* /
var name = "Daniel";
var danielsRole = "mentor";
/ *
RESULTADO ESPERADO
---------------
Olá, sou o Daniel, sou um mentor.
* /