Sesiones de PyR
if 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
Python
1 Votes
Are websites hackable?
1 Votes
TICTACTOE
0 Votes
Error
0 Votes
Learn python
0 Votes
Help for study
0 Votes
Need help (French)
0 Votes
What's an unsigned int?
0 Votes
BIG DOUBT🤔🤔🤔🤔
0 Votes