#include <iostream>
using namespace std;
class animal
{
public:
int getAge()
{
return mAge;
}
void setAge(int age)
{
mAge = age;
}
void addAge()
{
mAge++ ;
}
private:
int mAge;
};
int main()
{
animal A;
A.setAge(10);
cout<<"the age is "<<A.getAge();
return 0;
}
11-08
11-08