Exercise 4
A faculty is generating few reports of student.
Marks is given in the array of 10 students.
Marks is out of 25.
Create two functions:
- findAverage() => it will return te average of all the marks sudens scored
- moreThanAverage() => it will return the marks greater than average in form of array.
Array of marks = [12,18,25,24,25,18,20,20,21,5]