joseleonweb

Untitled

Oct 31st, 2019
140
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int [][] matriu = {{23,45,11,2},{67,2},{1,2,3,4,5,6}};
  2. System.out.println("Aquests són els valors que conté la matriu: ");
  3. for (int i = 0; i < matriu.length; i++) { //i = posició fila
  4.     System.out.println("\n\n\tEls valors que hi ha a la fila " + i + " són: ");
  5.     for (int j = 0; j < matriu[i].length; j++) {
  6.         System.out.println("\n\t\tEn la columna " + j + ": " + matriu[i][j]);
  7.     }
  8. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×