Discussions Q&R
Print New line in Js
0 Vote
4 Réponsesfunction 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 Vote
9 RéponsesJavascript
0 Vote
3 RéponsesJavaScript Question
0 Vote
2 RéponsesAujourd'hui en vedette
How
5 Votes
Most asked 3.0
0 Votes
is python better than JS
0 Votes
Print("hello ,world!"[7:13][2])
0 Votes
Python Module in Sololearn
2 Votes
Problem with hearts
1 Votes