Question: Task 2: use c++ to Create an employee class, basing it on Task 1. The member data should comprise an int for storing the employee
Task 2: use c++ to Create an employee class, basing it on Task 1. The member data should comprise an int for storing the employee number and a float for storing the employees compensation. Member functions should allow the user to enter this data and display it. Write a main() that allows the user to enter data for three employees and display it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
