Skip to content

Instantly share code, notes, and snippets.

Created March 29, 2013 19:48
Show Gist options
  • Save anonymous/5273156 to your computer and use it in GitHub Desktop.
Save anonymous/5273156 to your computer and use it in GitHub Desktop.
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