Answered You can hire a professional tutor to get the answer.

QUESTION

X JAVA_HA12. Process Large Dataset A university posts its faculty members' salaries at http://liveexample.pearsonomg. com/data/Salary. Each line in...

Please provide the code that solves the Java exercise below: (Process Large Dataset)

XJAVA_HA12.2: Process Large DatasetA university posts its faculty members' salaries athttp://liveexample.pearsonomg. com/data/Salary.txt. Each line in the file consists of afaculty member's first name, last name, rank, and salary, separated by a space. The first10 lines of data are as follows:FirstNamel LastNamel assistant 79174.73FirstName2 LastName2 associate 70817.75FirstName3 LastName3 associate 69619.0FirstName4 LastName4 full 116992 . 43FirstName5 LastName5 full 116761. 76FirstName6 LastName6 full 123743.86FirstName7 LastName7 assistant 70071.81FirstNames LastNames assistant 67605.92FirstName9 LastName9 associate 65534.42FirstName10 LastName10 full 88528.43Write a program to display the total salary for assistant professors, associate professors,full professors, and all professors, respectively, and display the average salary forassistant professors, associate professors, full professors, and all professors, respectively.Here is a sample run. You output should look exactly as follows:Data were retrieved from http://liveexample.pearsonomg. com/data/Salary . txtTotal salary for assistant professors is $20, 246, 511.91Total salary for associate professors is $28, 844, 146.58Total salary for full professors is $35, 678, 051.41Total salary for all professors is $84, 768,709.90Average salary for assistant professors is $65,949.55Average salary for associate professors is $83, 849.26Average salary for full professors is $102, 229.37Average salary for all professors is $84, 768.71Submit the source code file - ProcessLargeDataset.java - to the drop box HA12.2.Page 1 of 1 204 words53 -+ 100%
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question