Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java lab about linked lists. The files appear in the second image, however here they are written down as well. Payfile.txt Howard Starr M 8
Java lab about linked lists.
The files appear in the second image, however here they are written down as well.
Payfile.txt
Howard Starr M 8 H 30.00 Joan Jacobus F 9 W 925.00 David Renn M 3 H 4.75 Albert Cahana M 3 H 18.75 Douglas Sheer M 5 W 250.00 Shari Buchman F 9 W 325.00 Sara Jones F 1 H 7.50 Ricky Mofsen M 6 H 12.50 Jean Brennan F 6 H 5.40 Deborah Starr F 3 W 1000.00 Jamie Michaels F 8 W 150.00
hirefile.txt
Barry Allen M 0 H 6.75 Nina Pinella F 0 W 425.00 Lane Wagger M 0 W 725.00
firefile.txt
Jean Brennan F Ricky Mofsen M
Computer Lab: Payroll Processing This assignment will focus on the manipulation of linear linked lists and their associated classes. Construct a Java program that will retrieve, update and manipulate a small payroll database. The payroll data (payfile.txt), along with two additional files (hire file.txt firefile.txt) required for this lab can be found in the appropriate class Blackboard folder. The contents of each of the files can be found at the end of this lab. Note that each line in the file, payfile.txt, contains a field for: first Name lastName gender tent rate salary Your program should perform each of the operations indicated below. Be sure to clearly label your output for each section and be sure to properly format your output. Note that all salaries should be shown to two decimal places. Your program should send output to a file called csis.txt. This output file will be submitted along with your source code for the lab. a) Read each line of data from payfile.txt, place the data into an Employee object, and insert the Employee object onto the end of an ObjectList. b) output the contents of the info field of each Node into an easily read table format with each field appropriately labeled. c) Output the number of employees. d) output the first and last name of all women on the payroll. e) output the first and last names and salary of a weekly who make five years. per year and who have been with the company for at least Focus on Data Structures Computer Lab: Payroll Processing This assignment will focus on the manipulation of linear linked lists and their associated classes. Construct a Java program that will retrieve, update and manipulate a small payroll database. The payroll data (payfile.txt), along with two additional files (hire file.txt firefile.txt) required for this lab can be found in the appropriate class Blackboard folder. The contents of each of the files can be found at the end of this lab. Note that each line in the file, payfile.txt, contains a field for: first Name lastName gender tent rate salary Your program should perform each of the operations indicated below. Be sure to clearly label your output for each section and be sure to properly format your output. Note that all salaries should be shown to two decimal places. Your program should send output to a file called csis.txt. This output file will be submitted along with your source code for the lab. a) Read each line of data from payfile.txt, place the data into an Employee object, and insert the Employee object onto the end of an ObjectList. b) output the contents of the info field of each Node into an easily read table format with each field appropriately labeled. c) Output the number of employees. d) output the first and last name of all women on the payroll. e) output the first and last names and salary of a weekly who make five years. per year and who have been with the company for at least Focus on Data Structures
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started