Question
Java Program: Create two arrays, one for the names and one for the grades using Java program. You are to read the file (see attached
Java Program: Create two arrays, one for the names and one for the grades using Java program. You are to read the file (see attached below), store into two arrays (parallel arrays). Loop through the text files to load the arrays. Call the methods to display the appropriate information. Prompt the user to enter a specific name, if the name does not exist, indicate so, otherwise return individual letter grade.
Write individual methods for the following:
1. Display how many people earned an A.
2. Display how many people earned a B.
3. Who has the highest grade?
4. Who has the lowest grade?
5. A method for the individual grade.
6. Show the screenshots of the output.
Names.txt
Tammy Henning Rosendo Palafox Cleveland Chuang Nolan Levering Luciana Yeh Ada Kelsey Emelia Collyer Helen Mccullen Nancie Regina Efren Garza Aleen Zeller Sang Harwell Kati Blanck Ima Lenart Renna Clothier Glen Mortellaro Nanci Mcquillan Hilario Mcnutt Renaldo Deramus Leeanna Sciortino
Grades.txt
99
78
52
82
70
77
72
83
67
61
87
93
56
74
54
94
96
79
92
80
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started