minicl55

Untitled

Nov 11th, 2013
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream> //Used so we can input/output to the console
  2.  
  3. int main() { //The main function will hold your code
  4. cout << "Please enter your age." << endl;
  5. cin >> string age;
  6. cout << "You are " << age << " years old.";
  7. }
Advertisement
Add Comment
Please, Sign In to add comment