Java二维数组求助!!!

Java二维数组求助!!!
public static void main(String[] args) {
    int[][] scores = {{98, 86, 88}, {85, 56, 77}, {66, 78, 89}, {90, 85, 74}};
    int first = 0, second = 0, third = 0;
    for (int i = 0; i < scores.length; i++) {
        int count = 0;
        first = first + scores[i][0];
        second = second + scores[i][1];
        third = third + scores[i][2];
        for (int j = 0; j < scores[i].length; j++) {
            count += scores[i][j];
        }
        System.out.println("第" + (i + 1) + "个学生平均成绩为——>" + (count / scores[i].length));
    }
    System.out.println("第一科平均成绩:" + first/4);
    System.out.println("第二科平均成绩:" + second/4);
    System.out.println("第三科平均成绩:" + third/4);
}