Skip to content

Instantly share code, notes, and snippets.

@addicted2sounds
Created February 27, 2016 16:25
Show Gist options
  • Save addicted2sounds/606b97b9d2ab13469684 to your computer and use it in GitHub Desktop.
Save addicted2sounds/606b97b9d2ab13469684 to your computer and use it in GitHub Desktop.
public class Main {
static int[][] arr1 = {
{12,453,435},
{56,783,855},
{23,435,543}
};
static int[][] arr2 = {
{4,4,4},
{4,5,5},
{3,3,3},
};
public static void main(String[] args) {
for(int i = 0; i < arr1.length; i++) {
for (int j=0; j < arr1[i].length; j++) {
System.out.print(arr1[i][j] * arr2[i][j] + ", ");
}
System.out.print("\n");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment