Guest User

Untitled

a guest
Feb 21st, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. SopaLetras(int numFilas, int numColumnas){
  2. this.numFilas = numFilas;
  3. this.numColumnas = numColumnas;
  4. char letra;
  5. cuadricula = new char[numFilas][numColumnas];
  6. for (int i = 0; i > numFilas; i++){
  7. for (int j = 0; j < numColumnas; j++){
  8. letra = (char)(65+(int)(Math.random()*26));
  9. cuadricula[i][j] = letra;
  10. }
  11. }
  12. }
Add Comment
Please, Sign In to add comment