-
-
Save uncoded-ro/379a72dd64c408879b035a8fd0509277 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Matrice { | |
public static void main(String[] args) { | |
int[][] matrice = { { 12, 4, 23, 1 }, { 16, 8, 0, 21 }, { 1, 13, 2, 17 } }; | |
for (int i = 0; i < matrice.length; i++) { | |
for (int j = 0; j < matrice[i].length; j++) { | |
System.out.print("matrice[" + i + "," + j + "]=" + matrice[i][j] + "\t"); | |
} | |
System.out.print("\n"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment