The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 6 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
(Program)
a. Construct a class definition to represent an employee of a company. Each employee is defined by an integer ID number, a floating-point pay rate, and the maximum number of hours the employee should work each week. The services the class provides should be 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 9a 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 9b 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.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll