//让用户输入其年龄,然后显示该年龄包含几个月。
#include <iostream>
int sum(int n);
int main ()
{
using namespace std;
cout<<"Enter your age : ";
int age;
cin>>age;
int month = sum(age);
cout<<"month is :"<<month<<endl;
return 0;
}
int sum (int n)
{
return n*12;
}