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