Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream> //Used so we can input/output to the console
- int main() { //The main function will hold your code
- cout << "Please enter your age." << endl;
- cin >> string age;
- cout << "You are " << age << " years old.";
- }
Advertisement
Add Comment
Please, Sign In to add comment