Create a class called Employee that includes three pieces ofinformation as data members – A first name (type string), a lastname (type string) and a monthly salary (type floating point). Yourclass should have a constructor that initializes the three datamembers. Provide a set and get functions for each data member.Create two Employee objects and display each object’s yearlysalary. Then give each Employee a 10% raise and display eachEmployee’s yearly salary again
Expert Answer
An answer will be send to you shortly. . . . .