Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
I need a c++ program with execution of this question . with snapshorts also , you can upload in a document file and send to me .
I need a c++ program with execution of this question . please as soon as possible try to get the answer. with snapshorts also , you can upload in a document file and send to me .
(Question )Create a class called Agent that includes three pieces of information as data members –a first name (type string ), a last name (type string) and a 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. Write a test program that demonstrates class agent’s capabilities. Create two Agent objects and display each object’s yearly salary. Then give each Agent a 10 percent raise and display each Agent’s yearly salary again.
(Program , execute code and snapshorts in .doc file what you done the task )