A Payroll object may store data members for an employee’s hourly pay, number of hours worked in a week, and total pay for that week. Design an ADT that would store a collection of payroll objects. Implement this ADT in a C++ program that would store an array of 5 payroll objects. It should ask for the number of hours worked by an employee in a week, and display the total pay earned by the employee for that period.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here