Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int age;
- cout << "Enter your age: ";
- cin >> age;
- cout << "Your age in months is " << age * 12 << "." << endl;
- cin.get(), cin.get();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement