2 Payroll Name Payrolljava Write Program Reads Text File Formatted Line Contains First Nam Q37105503

Payroll

2. Payroll Name: Payroll.java Write a program that reads a text file formatted such that each line contains a first name, a l

2. Payroll Name: Payroll.java Write a program that reads a text file formatted such that each line contains a first name, a last screen. Calculate the average of the salaries and display it on the screen as well. Get the name of the file from the user. Sample Run: Enter file name: employees.txt firstnamel lastnamel 10000.000000 firstname2 lastname2 20000.000000 firstname3 lastname3 30000.000000 firstname4 lastname4 40000.000000 firstname5 lastname5 50000.000000 Average: $30000.00 Where employees.txt looks like:

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.