ce variable to store the experience of developer, number of applications published, number of GitHub repositories. 2. Parameterized constructor that sets all the instance variable. 3. Setter and getter methods to set and get the instance variable values. 4. A public method named calulateSalary() that returns the expected salary of the employee 5. Salary of the developer is determined by: (experience of developer + number of applications published + number of GitHub repositorie
Write in C++ Program
Create a class named Developer that stores the information about an application developer.
Implementation of all the points is necessary.
1. Private instance variable to store the experience of developer, number of applications
published, number of GitHub repositories.
2. Parameterized constructor that sets all the instance variable.
3. Setter and getter methods to set and get the instance variable values.
4. A public method named calulateSalary() that returns the expected salary of the employee
5. Salary of the developer is determined by: (experience of developer + number of
applications published + number of GitHub repositories) * 500 $.
6. If expected salary is less than 1000$ then assign the status to employee as “Rookie
developer” and if the expected salary comes out to be greater then 1000$ then assign the
status to the developer as “pro developer”.
7. Create a method name displayInfo that will display all the information about the
developer along with its expected salary and status
Step by step
Solved in 4 steps with 1 images