questioncreate an employee class with enough


Question

Create an Employee class with enough numbers of data members to store employee data of following structure-

ID Name City State Hourly Rate Work Hours Salary
6984 John Trovota Chicago IL 15.50 11
2323 Britney Speer Milwaukee WI 12.25 33
1452 Kathy Johnson Lasing MI 9.75 27
4321 Bill Newton Chicago IL 26.25 29

Also included in class definition are functions as in constructor, getter, setter, & processor. The salary, which is the product of hourly_rate & work_hours, can be considered by a processor function or by constructor.

In major function of your program, 4 Employee objects (e1, e2, e3, & e4) will be instantiated from Employee class. You program must display these 4 objects (including salary) as its output.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questioncreate an employee class with enough
Reference No:- TGS0444497

Expected delivery within 24 Hours