#include // basic header file int main() // needed { int age; // this sets up the age variable cout<<"Please tell me your age: "; // this tells the user to input there age cin>>age; // this inputs the users age if(age<50) // this says that if the age is less than 50 then do next { cout<<"You are pretty young!"; // this is a little text to tell the person what you think } else if(age==50) // else is used here to show you how to have multiple if statements it also displays the text below if the age is equal to 50 { cout<<"You are old"; // this is your average text showing method again } else { cout<<"You are really old"; // this says that if no number is entered that meets the previous requirements it displays the text } return system("pause"); // this pauses the program and waits for a response from the user before quitting }