Question: C++ 7 Write a class to define employee ... with the following attributes:1- name 2- age 3- salary, and following functions: 1- setter and getter
C++
7 Write a class to define employee ... with the following attributes:1- name 2- age 3- salary, and following functions: 1- setter and getter for each attribute. 2- increase salary by 100 .Then use this class to create two different employee and Increase the salary of the first employee from 400 to * 500
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
