The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
University
| Teaching Since: | Apr 2017 |
| Last Sign in: | 438 Weeks Ago, 6 Days Ago |
| Questions Answered: | 9562 |
| Tutorials Posted: | 9559 |
bachelor in business administration
Polytechnic State University Sanluis
Jan-2006 - Nov-2010
CPA
Polytechnic State University
Jan-2012 - Nov-2016
Professor
Harvard Square Academy (HS2)
Mar-2012 - Present
(Program) a. Construct a class definition to represent an employee of a company. Each employee is defined by an integer ID number, a double-precision pay rate, and the maximum number of hours the employee should work each week. The class should provide these services: the capability to enter data for a new employee, the capability to change data for a new employee, and the capability to display existing data for a new employee.
b. Include the class definition created for Exercise 8a in a working C++ program that asks the user to enter data for three employees and then displays the entered data.
c. Modify the program written for Exercise 8b to include a menu that offers the user the following choices:
1. Add an employee
2. Modify employee data
3. Delete an employee
4. Exit this menu
In response to the user’s choice, the program should initiate an action to implement the choice.
Â
-----------