Question: Write a program in C++ that defines a class called Employee and fields/member variables are empId type interget, empName of type string and salary type
Write a program in C++ that defines a class called Employee and fields/member variables are “empId” type interget, ”empName” of type string and ”salary” type of double. The class also has a display function to prints the employee information.
Step by Step Solution
3.37 Rating (150 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
