+ 3
print same result! solution please...
var yourAge = 18; var result; if ((yourAge>150 || yourAge <= 1 || yourAge <= 4 || yourAge <= 12 || yourAge <= 18 || yourAge >= 18)) { result = "baby"; result = "toddler "; result = "kid"; result = "teenager"; result = "an adult"; } else { result = "vampire"; } console.log ("you are", result);
1 Respuesta
+ 8
It seems you need to sharpen your skill on conditionals. Try to complete this module and find out what your mistakes. 😉
https://www.sololearn.com/learn/JavaScript/1138/?ref=app