Question: I need help using C# to complete this assignment. Object-Oriented Systems Development Assignment 5 Description Further enhance the human resource management program for Continental University.
I need help using C# to complete this assignment.
Object-Oriented Systems Development
Assignment 5
Description
Further enhance the human resource management program for Continental University.
There are two types of employees: faculty and adjunct. The program also records the highest academic degree and tenure status (with/without) for a faculty member and the contract ending date for an adjunct employee.
Add read-only, derived attributes for retirement contribution rate, retirement, taxable income (salary retirement TSA), tax withheld, and net pay of an employee. The retirement contribution rate is 4.5% for faculty and 0% for adjunct.
The program must use exception handling to maintain data integrity and must never crash. Name must consist of letters only. Salary must be a non-negative number. TSA must be between $0 and $1500. State must be one of the 50 states of the US. Zip code must be a five-digit number. Phone numbers must contain ten digits.
Sample Dialog
Welcome to the Continental University Human Resource System!
Enter data about an employee
Employee type: F(aculty), A(djunct)? f
First Name: min
Last Name: zhao
Salary ($): 8900
TSA ($): 1200
Marital/Familty Status (S, M, F): f
Health Insurance Program (S, H, N): h
Home Phone: 4142238988
Work Phone: 4142296524
Street Address: 100 Glendale Ave
City: milwaukee
State: wi
Zip: 53210
Highest academic degree: PhD
Is this faculty member tenured (Y/N)?: y
Zhao, Min Faculty, Salary: $8,900.00, Retirement: $400.50(4.5%), TSA: $1,200.00, Taxable Income: 7299.5%, Tax: $1,094.93(15%), Health Insurance: $230.00, NetPay: $5,974.58. 100 Glendale Ave, Milwaukee, WI 53210. (414)223-8988/(414)229-6524. PhD, Tenured
Do you want to quit (Y/N)?: x
Do you want to quit (Y/N)?: n
Enter data about an employee
Employee type: F(aculty), A(djunct)? x
Employee type: F(aculty), A(djunct)? a
First Name: 1234
First name must consist of letters only!
First Name: LINDA
Last Name: 1234
Last name must consist of letters only!
Last Name: SMITH
Salary ($): five thousand
Input string was not in a correct format.
Salary ($): 5600
TSA ($): 2000
TSA must be between $0 and $1500!
TSA ($): 1000
Marital/Familty Status (S, M, F): x
Marital/family status must be S, M, or F!
Marital/Familty Status (S, M, F): s
Health Insurance Program (S, H, N): x
Health insurance program must be S, H, or N!
Health Insurance Program (S, H, N): n
Home Phone: 422
Improper number of numeric digits for a phone number.
Home Phone: 4325454223
Work Phone: 234
Improper number of numeric digits for a phone number.
Work Phone: 8892234332
Street Address: 234 Warren
City: chicago
State: ill
ILL is not a U.S. state!
State: il
Zip: 2342
Zip should consist of 5 digits!
Zip: 53223
Contract ending date: 2018
String was not recognized as a valid DateTime.
Contract ending date: 1/1/2018
Smith, Linda Adjunct, Salary: $5,600.00, Retirement: $0.00(0%), TSA: $1,000.00, Taxable Income: 4600%, Tax: $920.00(20%), Health Insurance: $0.00, NetPay: $3,680.00. 234 Warren, Chicago, IL 53223. (432)545-4223/(889)223-4332. Contract till 1/1/2018
Do you want to quit (Y/N)?: y
Thank you for using the Human Resource System!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
