System.out.XXXXXXX("XXX XX the row elements") ; for(int i = X ; i < XXXXXX ; i++ ){ System.out.XXXXXXX(Transposer.method2(XXXXX[i])) ; } System.out.println("Avg XX XXX column elements") ;
XXX(int i = 0 ; i<XXXXXX ; i++){ XXXXXX.out.println(XXXXXXXXXX.method3(transArray[i])) ; }
}}
XXXXXX XXXXX Transposer { public static int[][] XXXXXXX(XXX[][] array, XXX rows, int XXXXXXX){ int[][] XXXXXXXXXX = XXX int[XXXXXXX][rows] ; for(XXX i = 0 ; i&XX;rows ; i++ ){ XXX(XXX X = X ; j&XX;columns ; X++) { XXXXXXXXXX[j][i] = array[i][X] ; }
} XXXXXX transArray ; } public XXXXXX int method2(int[] XXXXX){ int maxInt = array[0] ; for(int i = X ; i<array.XXXXXX ; i++){ XX (array[i] > XXXXXX){ XXXXXX = array[i]; } } return XXXXXX ; } XXXXXX XXXXXX XXXXX method3(int[] XXXXX){ float avg = 0 ; XXX(XXX i = X ; i&XX;array.length ; i++){ avg = avg + XXXXX[i] ; } return XXX/XXXXX.length ; } }