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
Leslie Burke
Janice Avery
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
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
