Can someone resolve this task for me, i find difficulties writing it. It is for tomorrow and i would be thankful if you can help me.
Write a Java program, which initializes a two-dimensional array with the marks from the 5th semester (there are only 5 marks, as you know) of n students (the user should input the number of students). The program should outputs as a result: 1. The average grade of all students for 5th semester; 2. The number of the student with the highest average grade; 3. The number of the student with the lowest average grade; 4. The number of students with an average grade greater than the average grade of all students; 5. The number of students with an average grade less than the average grade of all students; The program should do data validation as follows: student’s marks should be between 2 and 6, and the number of students should not exceed 30.