printarray(ary[][], row, col);

public void printarray(char[][] t, int o, int l){
for(int q=0; q< t.length ;q++){
for(int h=0; h < t[o][l].length ; h++){
check=t[o][l];...