Identify the student who got more than 190 marks - Java Quiz Question



Write a program to get the students who got more than 190 marks in total.

Input (String Array, Integer Array, Integer Array) Output(String Array)
{Roopa, Reena, Raj, Lucky},
{65, 78, 92, 100},
{78, 63, 85, 95}
{Lucky}
{Madhuri, Vinay, Vijay, Nilesh, Radhika},
{100, 89, 84, 97, 66},
{92, 63, 85, 95, 68}}
{Madhuri, Nilesh}
{Krish, Meena, Jyothi, Sowjanya},
{99, 98, 95, 93},
{95, 97, 96, 82}
{Krish, Meena, Jyothi}
{Harika, Ashok, Kiran, Arun},
{95, 96, 98, 100},
{100, 97, 99, 92}
{Harika, Ashok, Kiran, Arun}
{Harsha, Amulya, Akram, Suma},
{38, 66, 78, 76},
{52, 44, 67, 66}
{}(EMPTY)

class MeritStudents

{    public static void main(String s[])
    {
        String names[] = {"Kavya", "Navya", "Divya", "Rajesh", "Vinod"};
        int mathsMarks[] = {80, 76, 95, 92, 100};
        int scienceMarks[] = {70, 86, 97, 96, 92};
        String result[] = getMeritStudents(names, mathsMarks, scienceMarks);
        System.out.print("The merit students are : ");
        for (String student : result)
        System.out.print(student + ", ");

    }


public static String[] getMeritStudents(String names[], int mathsMarks[], int scienceMarks[]) {
//Write a code here to get the students whose having total more than 190 and return it.
}
}