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 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 AntwortenC++
1 Stimme
5 AntwortenConvert.ToInt32() vs. int.Parse()
0 Stimmen
1 AntwortWhat'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ß
SQL
3 Votes
HTML/CSS questions
0 Votes
IMAGE
0 Votes
What Does Pseudo Elements Mean.
2 Votes
Html
1 Votes
How to learn css and html
0 Votes
Find courses
0 Votes
Certificate Problem
0 Votes