Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void task1() {
- int[][] myArray = new int[5][6];
- for (int i = 0; i < 5; i++) {
- for (int j = 0; j < 6; j++) {
- myArray[i][j] = (int)(Math.random() * 100);
- if (i == 3) System.out.print(myArray[i][j] + " ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement