Pessoal blz ?
eu estou tentando aqui jogar os valores da matriz 3x3 em um vetor para depois ordena-lo … so que tá dando erro … vejam ae
int[] vet = new int[8];
int t=0;
int[][] matriz = new int[3][3];
...
for(i=0; i<3; i++) {
for(j=0; j<3; j++) {
vet[t] = matriz[i][j];
t++;
}
}
alguem tem alguma ideia ?
vlw
