Part 1: Write a program that tracks employee information. The program should use classes for employee records. Each employee should have a record containing the following information: First Name Last Name Phone Number Address City State Zip Position Job title Payment type The program should be able to allow for the following: the input of new employees, display of existing employees, editing existing employees, deleting employees. To display payment type/salary This must calculate pay for either an hourly paid worker or a salaried worker. Hourly paid workers are paid their hourly pay rate times the number of hours worked. Salaried workers are paid their regular salary plus any bonus they may have earned. The program should declare two structures for the following data: Hourly Paid: HoursWorked HourlyRate Salaried: Salary Bonus The program should ask the user whether he or she is calculating the pay for an hourly paid worker or a salaried worker. Regardless of which the user selects, the appropriate members of the union will be used to store the data that will be used to calculate the pay. Input Validation: Do not accept negative numbers. Do not accept values greater than 80 for HoursWorked.
Part 1: Write a
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 2 images