Q&A Discussões
What level am I on
1 Voto
1 Respostaif 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 Voto
4 RespostasQuente hoje
code coach
2 Votes
How do I do audio
0 Votes
PYTHON AND JAVA
0 Votes
Lua?
1 Votes
Query about A.I.
0 Votes