public class student {

public static void main(String[] args) {

int studentInfo[][];

studentInfo = new int [10][6];

System.out.println("학번 \t 국어 \t 영어 \t 수학 \t 총점 \t 평균");

for(int i=0; i<=9; i++){
System.out.print((i+1) + "\t");
for(int j=1; j<4; j++){
studentInfo[i][j] = (1+(int) (Math.random()*10))*10;
studentInfo[i][4] += studentInfo[i][j];
System.out.print(studentInfo[i][j] + "\t");
}
studentInfo[i][5] = studentInfo[i][4]/3;
System.out.print(studentInfo[i][4] + "\t");
System.out.print(studentInfo[i][5] + "\t");
System.out.println();
}
}

 

요거 도대체 뭘쓰고 왜쓴거예요??

솔직히 과제인대 이해가 잘안되요 부탁드립니다.