New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Am I just stupid?
2 Votes
4 Answerspyton array Q!
0 Votes
1 Answerif 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 Votes
4 AnswersHot today
Is the AI course worth the $49?
1 Votes
Comparing code coach solutions
3 Votes
General python
0 Votes
view challenge analytics
2 Votes
Automatation python
1 Votes
Where to use
0 Votes
Coding path
0 Votes