help me
-
hello I need help Create a class Employee that includes: 1. Three instance variables: a Name(type string), HireYear(type integer), and a monthly Salary (type double) . 2. A constructor that initializes the three instance variables . 3. Public methods : a. Set and Get for each instance variable. If the monthly salary is not positive, do not set its value . b. GetEmployeeInfo: returns a string contains the employee name, hire year, and his/her monthly salary.
-
hello I need help Create a class Employee that includes: 1. Three instance variables: a Name(type string), HireYear(type integer), and a monthly Salary (type double) . 2. A constructor that initializes the three instance variables . 3. Public methods : a. Set and Get for each instance variable. If the monthly salary is not positive, do not set its value . b. GetEmployeeInfo: returns a string contains the employee name, hire year, and his/her monthly salary.
-
hello I need help Create a class Employee that includes: 1. Three instance variables: a Name(type string), HireYear(type integer), and a monthly Salary (type double) . 2. A constructor that initializes the three instance variables . 3. Public methods : a. Set and Get for each instance variable. If the monthly salary is not positive, do not set its value . b. GetEmployeeInfo: returns a string contains the employee name, hire year, and his/her monthly salary.