Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SopaLetras(int numFilas, int numColumnas){
- this.numFilas = numFilas;
- this.numColumnas = numColumnas;
- char letra;
- cuadricula = new char[numFilas][numColumnas];
- for (int i = 0; i > numFilas; i++){
- for (int j = 0; j < numColumnas; j++){
- letra = (char)(65+(int)(Math.random()*26));
- cuadricula[i][j] = letra;
- }
- }
- }
Add Comment
Please, Sign In to add comment