• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

Hey guys! M a new member😊 My professor in college has given the class an assignment in which we ve to use C++ to make a program which will help the society and reduce work...If u all have some ideas. Please suggest me one .. Thank-you very much
c++
1 Vote
2 Réponses
12th Jun 2016, 6:53 AM
Pragathi Bhat
Pragathi Bhat - avatar
if 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; }
c++
0 Vote
4 Réponses
18th Jul 2016, 10:34 AM
Peter Müller
Peter Müller - avatar
< Précédent1...2728Suivant >
Aujourd'hui en vedette
Functions in python
2 Votes
How to make a playground
1 Votes
For Mobile app
0 Votes
How can you find whether a number is odd or even in a different way(other than (x%2==0))?
1 Votes
I need advice
0 Votes
Html 5 document question
1 Votes
this query always result to be incorrect from Sorting Data lesson
1 Votes
Paint costs
1 Votes
Why this code fails even without data race
0 Votes
Learning Python - Question
1 Votes