simple payroll C#

nyfhjnvyrz
timer Asked: Apr 19th, 2016

Question Description

I have been working on a payroll program that I could not Finalize , neeed help I will

attach the description needed  and my work.  

Unformatted Attachment Preview

Description Further enhance the payroll program for Continental Palms University.  A faculty member is classified into two types: professor and lecturer. A professor has a rank (assistant, associate, or full). A lecturer may be an adjunct faculty member.  The university provides faculty members retirement as part of the benefit package. A professor gets 10% of the salary as retirement. An adjunct lecturer does not get retirement. A regular lecturer gets 8% of the salary as retirement.  The program must use exception handling to maintain data integrity. Name must consist of letters only. Gender must be Male or Female. Start date must be prior to today. Salary must not be negative. 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. The rank of a professor must be assistant, associate, or full. Sample Dialog Welcome to the Payroll System! Add a new faculty member Is this a Lecturer or Professor (L/P)? Is this a Lecturer or Professor (L/P)? p First Name: min Last Name: zhao Gender: m Married (Y/N)? y Start Date: 5/1/2002 Salary: $80000 Home Phone: 4148778888 Work Phone: 4142296524 Street Address: 100 W Glendale City: Milwaukee State: Wisconsin Zip: 53201 Rank (Assistant/Associate/Full): Full Mr. Zhao, Min married Full Professor 100 W Glendale, Milwaukee, WI 53201 (414)877-8888, (414)229-6524, 13 years, Salary: $80,000.00 Retirement: $8,000.00 Do you want to quit (Y/N)?: n Add a new faculty member Is this a Lecturer or Professor (L/P)? o Is this a Lecturer or Professor (L/P)? l First Name: 8linda First name must consist of letters only! First Name: linda Last Name: 2mith Last name must consist of letters only! Last Name: smith Gender: g Gender should be Male or Female! Gender: f Married (Y/N)? m Married (Y/N)? n Start Date: 5/1/3000 FacultyMember start date must be prior to today! Start Date: 5/1/2000 Salary: $40000 Home Phone: 2736777 Improper number of numeric digits for a phone number. Home Phone: 2342733888 Work Phone: 4148889 Improper number of numeric digits for a phone number. Work Phone: 4142297678 Street Address: 200 N Maryland City: Chicago State: ii II is not a U.S. state! State: il Zip: 8892 Zip should consist of 5 digits! Zip: 87667 Is Adjunct (Y/N)? a Is Adjunct (Y/N)? y Ms. Smith, Linda single Adjunct 200 N Maryland, Chicago, IL 87667 (234)273-3888, (414)229-7678, 15 years, Salary: $40,000.00 Retirement: $0.00 Do you want to quit (Y/N)?: k Do you want to quit (Y/N)?: y Thank you for using the Payroll System of Continental Palms University!
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Similar Content

Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors