Skip to content

Instantly share code, notes, and snippets.

@komo91
Created January 18, 2015 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save komo91/cbf5ff1b59dee7d41fb9 to your computer and use it in GitHub Desktop.
Save komo91/cbf5ff1b59dee7d41fb9 to your computer and use it in GitHub Desktop.
public class Hyakumasu {
public static void main(String[] args) {
double i = 0;
double j = 0;
for(i = 1; i < 11; i++) {
for(j = 1; j <= 10; j++) {
double a = i / j;
System.out.printf("%5.3f\t",a);
}
System.out.println("");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment