Q&A Discussões
HELP PLEASE!
0 Voto
4 RespostasTimer?
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 RespostasHow can I read from a file this line
19 34 Gateway Arch - St. Louis, MO.
The first digit is age, second timeUsed, and the rest description. So I want to read them and store them in a variable.
The code insime my while loop of my File is int age = reader.nextInt();
Int Tused = reader.nextInt();
Description = reader.next()
0 Voto
4 RespostasC++
1 Voto
5 RespostasПомогите с задачами
0 Voto
1 RespostaHow can it be run
0 Voto
2 RespostasQuente hoje
Guys help please
0 Votes
Python question
2 Votes
Front-end vs Full-stack
1 Votes
Python
1 Votes
Are websites hackable?
1 Votes
About our Capstone product "Ecocambio" We don't know how to code and how electronics would connect.
0 Votes
C# and sql
1 Votes
What course to take for AI?
0 Votes
TICTACTOE
0 Votes