Ver Mensaje Individual
  #3 (permalink)  
Antiguo 13/12/2012, 10:48
Avatar de Fuzzylog
Fuzzylog
 
Fecha de Ingreso: agosto-2008
Ubicación: En internet
Mensajes: 2.511
Antigüedad: 15 años, 8 meses
Puntos: 188
Respuesta: Rellenar matriz con numeros aleatorios

en la definicion de los bucles sustituye toda referencia a matriz.length por tamano, y no uses eñes para las variables.

El ultimo bucle
for(int j=0; j<tamano; j++) { // recorro la matriz
Random r = new Random();
matriz[i][j] = r.nextInt(50+1); //relleno aleatoriamente
}
__________________
if (fuzzy && smooth) {
fuzzylog = "c00l";
return true;
}