Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that does the following. Implement a separate method for each of

ID: 3528975 • Letter: W

Question

Write a program that does the following. Implement a separate method for each of the steps. Read in the names and scores of students. Compute and display the highest score. * Compute and display the lowest score. Compute and display the average score. Print the names of all the students with the highest score. * Print the names of all the students with the lowest score. The program will contain 3 classes: - Student - StudentGrades - StudentGradeAnalyzer The program uses an ArrayList of Student. Student -name: String -grade: int -Student() other methods as needed StudentGrades -allStudents: ArrayList +StudentGrades() other methods as needed StudentGradeAnalyzer -studentList: StudentGrades +main(String[]):void You must include javadoc comments. The UML class diagrams above must be modified based on your design and submitted with your project. Include an algorithm for steps 2 and 5 in the methods that contain the code.

Explanation / Answer

Please rate with 5 stars :) You can get some hint from this solution I am giving you. You just need to ass a few functions and change some of them to get your desired results. import java.util.Scanner; public class JavaApplication46 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.print("Enter number of students: "); int numOfStu = input.nextInt(); int[] grades = new int[numOfStu]; String[] names = new String[numOfStu]; int grade = 0; String name = ""; for(int i = 0; i 0; i--){ //resets both to 0 to start at the beginning of the array //so that you can test the new first number int currentMax = grades[0]; int currentMaxIndex = 0; //finds largest number out of all up to back-limit //i is back-limit that gets chopped off by one each time for (int k = 1; k
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote