F&A Diskussionen
Task 21 c++
3 Stimmen
8 AntwortenLevel 21 - not ready for users?
60 Stimmen
31 AntwortenC++ item 21
0 Stimmen
10 AntwortenIntercept algorithm 21 points
2 Stimmen
1 AntwortChallenge #1: 21
1 Stimme
2 AntwortenAlex has now 21 200 followers...
24 Stimmen
29 AntwortenI’m stuck Anna 21
0 Stimmen
4 AntwortenC++ project 21 extra return
-2 Stimmen
2 AntwortenWhy does line 21 not work?
0 Stimmen
7 Antworten21 year old asking for advice
-4 Stimmen
7 AntwortenWhy do we need private variables?
0 Stimmen
2 Antwortenfunction can_i_enter(age)
if (age < 6) { document.write ("you are not allowed to watch Dead pool after 6:00pm.");}
else if (age>=6 && age<17) {document.write("you must be accompanied by a guardian who is 21 or older.");}
else if (age>=17 && age<25) {document.write ("you are allowed to watch Dead pool, right after you show some ID. ")}
else if (age>=25) { document.write ("Yah! you can watch Dead pool with no strings attached!");}
else { document.write ("Invalid age. ");}
can_i_enter (24);
0 Stimmen
9 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 AntwortenHeute heiß
C pointers
1 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Control flow
0 Votes
Python question
1 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes