Problem:
Create a class called Employee that includes three pieces of information as data members:
• First name (type string)
• Last name (type string)
• Monthly salary (type int)
Your class should:
• Have a constructor that initializes the three data members.
• Provide a set and a get function for each data member.
• If the monthly salary is not positive, set it to 0.
• Create two Employee objects and display each object’s yearly salary. Then give each Employee a 10 percent raise and display each Employee’s yearly salary again.
• Separate your code into two files—a header for the class definition and a source code file for the class’s member-function definitions.
Please explain how to create a class called Employee.