Created
March 29, 2013 19:48
-
-
Save anonymous/5273156 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
class gridtest1 | |
{ | |
public static void main (String[] args) | |
{ | |
int i=0,j=0,grid=10; | |
while(i<=grid) | |
{ | |
while(j<=grid) | |
{ | |
System.out.println("("+i+","+j+")"); | |
j=j+1; | |
} | |
i=i+1; | |
j=0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment