Skip to content

Instantly share code, notes, and snippets.

@Ozerich
Forked from anonymous/kkk
Created September 17, 2012 18:32
Show Gist options
  • Save Ozerich/3738940 to your computer and use it in GitHub Desktop.
Save Ozerich/3738940 to your computer and use it in GitHub Desktop.
kkkk
package multiplaytable;
public class Multiplaytable
{
public static void main(String[] args)
{
System.out.print(" ");
for(int a = 1; a < 13; a++)
System.out.print(" " + a);
System.out.println(" ");
outer: for (int i = 1; i < 13; i++)
{
System.out.print(i);
for (int j = 1; j < 14; j++)
System.out.print(" " + (i * j));
System.out.println(" ");
continue outer;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment