Created
March 4, 2015 22:39
-
-
Save Ilyes-Hammadi-Ahmed/c27e634fb8f5a68e6003 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| package com.company; | |
| public class Main { | |
| public static void main(String[] args) { | |
| // write your code here | |
| } | |
| public static void afficheMatrice(int[][] matrice){ | |
| for (int i = 0; i < matrice.length; i++) { | |
| // affichage d'une ligne | |
| for (int j = 0; j < matrice[i].length; j++) { | |
| System.out.println(matrice[i][j]); | |
| } | |
| // retour a la ligne | |
| System.out.println(); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment