#include <iostream>
using namespace std;
class student{
private:
string name;
int age;
float height;
public:
student(int age=0){
this->age=age;
}
void get_details(){
cout << "Student age is " << age << endl;
}
void operator ++(){
++age;
}
void operator ++(int){
++age;
}
void operator --(){
--age;
}
};
int main(){
student s1(21);
++s1;
s1.get_details();
s1++;
s1.get_details();
--s1;
s1.get_details();
return 0;
}