Last active
October 20, 2019 12:52
-
-
Save JohnItoo/c2a38207609a310b0a8ad8afc87f0c4f to your computer and use it in GitHub Desktop.
ReadElements
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
public static void main(String[] args) { | |
String[][] grid = {{"A", "B", "C"}, | |
{"D", "E", "F"}, | |
{"G", "H", "I"}}; | |
for(int row = 0; row < 3; row++) { | |
System.out.println(' '); | |
for(int column = 0; column < 3; column++) { | |
System.out.print(grid[row][column] + " "); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment