Question: Write a program that read data from a file (StudentsData.txt that provided below. Please make that file and than work on it) that stores students

Write a program that read data from a file (StudentsData.txt that provided below. Please make that file and than work on it) that stores students names and their test scores and outputs the following information. All data read from files can be stored in Array-Based List objects. In StudentData.txt file the 1st column is students name and 2nd column is test scores.
1. Calculate and print the average score of all students scores;
2. Print the name of all students whose test scores are below the class average with an appropriate message;
3. Print the highest test score and the names of all the students having the highest score;
StudentData.txt file
Noah 76
Mason 90
Liam 95
Jacob 45
Williams 63
Ethan 89
James 95
Elijah 72
Micheal 76
Benjamin 56
David 95
Robert 87
Richard 67
Joseph 95
Thomas 72
Charles 76

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!