For this Question: In this question, you need to create a class <b>Student</b> which has 4 parameters:-
<b>name ( String )</b>
<b>eng (int) </b>
<b>maths (int) </b>
<b>hindi (int) </b>

Also, you need to complete the given three functions:-
<b>createStudentArray</b>:- In which you need to create an array of students and take input
<b>engAverage</b>:- In which you need to create an average of marks in English.
<b>avgPercentageOfClass</b>:- In which you need to calculate the average percentage of the class.

Note:- Scanner is already defined in this question. Use "sc" for scanner.You need to take the input in <b>createStudentArray()</b> only in which you have already provided the number of students N you just have to create an array of size N and take input respectively.

Constraints:-
1 <= N <= 1000Return the Student array in <b>createStudentArray()</b>, Return the floor of average marks in english in <b>engAverage</b>, and return the floor of average percentage of the class in <b.avgPercentageOfClas</b>.

Note:- In <b>avgPercentageOfClas</b> you first need to create the average of individual then find the average of all the students.Sample Input:-
3
Shiv 65 47 78
Negi 55 40 56
Gargi 43 56 40

Sample Output:-
54
53

Explanation:-
Average marks in eng = (65 + 55 + 43)/3 = 163/3 = 54
Average percentage of class => 
shiv = (65 + 47 + 78)/3 = 190/3 = 63
Negi = (55 + 40 + 56)/3 = 151/3 = 50
Gargi = (43 + 56 + 40)/3 = 139/3 = 46
avg = (63 + 50 + 46 )/3 = 159 = 53, I have written this Solution Code: 
static class Student
{
    String name;
    int eng, maths, hindi;
    
}
static Student[] createStudentArray(int n)
    {
        Student st[] = new Student[n];
        
        for(int i = 0; i < n; i++)
        {
            st[i] = new Student();
            st[i].name = sc.next();
            st[i].eng = sc.nextInt();
            st[i].hindi = sc.nextInt();
            st[i].maths = sc.nextInt();
        }
        return st;
    }
    
    static int engAverage(Student st[], int n)
    {
        int sum = 0;
        for(int i = 0; i < n; i++)
        {
            sum += st[i].eng;
        }
        return sum/n;
    }
    
    static int avgPercentageOfClass(Student st[], int n)
    {
        int sum = 0; int avg = 0;
        for(int i = 0; i < n; i++)
        { 
            sum = 0;
            sum += st[i].eng + st[i].maths + st[i].hindi;
            avg += sum/3;
        }
        
        return avg/(n);
    }, In this Programming Language: Java, Now tell me if this Code is compilable or not?