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