class employee
{
public:
   employee(char *, long, float);
   void show_employee(void);
   int change_salary(float) ;
   long get_id(void);
private:
   char name [64] ;
   long employee_id;
   float salary;
};

employee::employee(char *name, long employee_id, float salary)

{
   strcpy(employee::name, name) ;
   employee::employee_id = employee_id;
   if (salary < 50000.0)
      employee::salary = salary;
   else // Недопустимый оклад
      employee::salary = 0.0;
}

void employee::show_employee(void)

{
   cout << "Служащий: " << name << endl;
   cout << "Номер служащего: " << employee_id << endl;
   cout << "Оклад: " << salary << endl;
}

void main(void)

{
   employee worker("Happy Jamsa", 101, 10101.0);
   worker.show_employee();
} 