Q&A Discussões
function can_i_enter(age)
if (age < 6) { document.write ("you are not allowed to watch Dead pool after 6:00pm.");}
else if (age>=6 && age<17) {document.write("you must be accompanied by a guardian who is 21 or older.");}
else if (age>=17 && age<25) {document.write ("you are allowed to watch Dead pool, right after you show some ID. ")}
else if (age>=25) { document.write ("Yah! you can watch Dead pool with no strings attached!");}
else { document.write ("Invalid age. ");}
can_i_enter (24);
0 Voto
9 RespostasQuente hoje
overloading operators << >>
1 Votes
how does this code function?
1 Votes
.
1 Votes
.
0 Votes
Wishkit alternative for android
1 Votes
Hi
0 Votes
My question is about python?
0 Votes
Issue in code
0 Votes
i need to learn Coding
0 Votes