for(int i = 0; i < grades.length; i++) //create rows for(int j = 0; j < grades[i].length; j++) //create columns ...