Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void llenarMatriz() {
- for (int i = 0; i < 20; i++) {
- for (int j = 0; j < 10; j++) {
- if (j == 0) {
- alumnos[i][j] = "aaa";
- } else {
- int random = (int) (Math.random() * 50) + 50 ;
- String randomString = Integer.toString(random);
- alumnos[i][j] = ""+random;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement