#include using namespace std; int main() // Most important part of the program! { int age; // Need a variable... cout<<"Please input your age: "; // Asks for age cin>> age; // The input is put in age cin.ignore(); // Throw away enter if ( age < 12 ) { // If the age is less than 100 cout<<"You are a child!\n"; // Just to show you it works... } else if ( age >= 13 <= 19 ) { // I use else just to show an example cout<<"You are teenager\n"; // Just to show you it works... } else if ( age > 20 ) { cout<<"You are just old\n"; } else { cout<<"You are really really old\n"; // Executed if no other statement is } cin.get(); }