Mr. W. E.Coyote has designed a new product. In order toproduce this product he h
ID: 3615885 • Letter: M
Question
Mr. W. E.Coyote has designed a new product. In order toproduce this product he has
formed a company ACME and has hired 30full time hourly employees and 15 part time
hourly employees. However, he may needto hire more in the future. He needs a
program to manage theemployees.
The program should be menu driven,providing the options to modify an employee's
information, find an employee, enter thehours worked for the week. The program should
treat the employee as a class. It shouldtrack the employee's first name, last name,social
security number, hire date, full or parttime status, rate of pay ( how much they get paid
per hour) and the number of hours workedeach week for one year.
The program should provide the followingfeatures:
1. The ability to change/ set theemployee's name ( either first or last)
a. First or last name cannot beblank
2. The ability to set the employee'ssocial security number.
a. Should only consist of numbers, nodashes
b. Must be 9 numberslong
3. The ability to change/set theemployee's status (full time or part time)
4. The ability to change/set theemployee's rate of pay
a. Rate of pay will never be in wholedollar amounts
b. Rate of pay must be at least minimumwage
i. As minimum wage may change over time,it should be easy to
update thisinformation
ii. Use the current US minimum wagevalue for the initial settin
5. The ability to change/set the numberof hours the employee works in any given
week
a. part time employees should never beallowed to have more than 30 hours
without exception
b. hours worked should never be lessthan zero
6. The ability to calculate theemployee's total pay including potential overtimefor
full time employees
7. The ability to display theinformation in a formatted way ( at a minimumfield
headers)
8. The weekly payroll information for allemployees must be written to a file
Explanation / Answer
x.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.