Question: write the following code in java. a ) Construct a program that prompts the user to input the number of students they wish to document.

write the following code in java. a
)
Construct a program that prompts the user to input the number of students they wish to document. Subsequently, within a loop, gather information on each student, including their name and corresponding scores, and record this data into a text file named "Students.txt
.
"
The structure of the text file should resemble the following:
Jesse Aarons
9
7
Leslie Burke
8
5
Janice Avery
8
2
b
)
Develop a separate program to read the file, calculate the average score, and identify students whose scores surpass the calculated average. The output should be presented as follows:
The average score is
8
8
Jesse Aarons
s score is above the average.

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!