Sesiones de PyR
Task 21 c++
3 Votos
8 RespuestasC++ item 21
0 Votos
10 RespuestasChallenge #1: 21
1 Voto
2 RespuestasI’m stuck Anna 21
0 Votos
4 RespuestasC++ project 21 extra return
-2 Votos
2 Respuestasfunction 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 Votos
9 Respuestasif i text 21 it stacks. program says you are a child. you are a teenager. you are adult. how can i delete this "stack".
#include <iostream>
using namespace std;
int main() {
int age;
cin>>age;
if (age>=14){
cout<<"You're a Teenager"<<endl;
}
if (age>=18){
cout<<"You're adult"<<endl;
}
if (age>=0){
cout<<"You're a Child"<<endl;
}
else{
cout<<"Are u stupid ?"<<endl;
}
return 0;
}
0 Votos
4 RespuestasEn tendencia hoy
rules for posts here?
3 Votes
PYTHON TUTOR
1 Votes
Python variable
0 Votes
Where can i find
1 Votes
i want to learaning python
1 Votes
Coding Java
0 Votes
C# code not working!
1 Votes
I want to build a website
1 Votes