F&A Diskussionen
HELP PLEASE!
0 Stimmen
4 Antwortenif 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 Stimmen
4 AntwortenConvert.ToInt32() vs. int.Parse()
0 Stimmen
1 AntwortC++
1 Stimme
5 AntwortenHow 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 Stimmen
4 AntwortenWhat's wrong?! Please! Help me!!
2 Stimmen
13 AntwortenПомогите с задачами
0 Stimmen
1 AntwortWhat is the mistake in my Code.
3 Stimmen
2 AntwortenHow can it be run
0 Stimmen
2 AntwortenStoring userinputed ints
0 Stimmen
5 AntwortenHeute heiß
Learn python
2 Votes
Where's PHP and Ruby courses?
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
How to make a 2d game
0 Votes
Not image in the page
0 Votes