Skip to content

Instantly share code, notes, and snippets.

@Starlight258
Last active January 15, 2024 08:01
Show Gist options
  • Save Starlight258/010113afbb4b3d5fbb66056c70b88d72 to your computer and use it in GitHub Desktop.
Save Starlight258/010113afbb4b3d5fbb66056c70b88d72 to your computer and use it in GitHub Desktop.
0114_과제1
// 김명지
public class a1 {
public static void main(String[] args) {
System.out.println("[구구단 출력]");
for (int i = 1; i < 10; i++) {
for (int j = 1; j < 10; j++) {
System.out.printf("%02d X ", j);
System.out.printf("%02d = ", i);
System.out.printf("%02d ", j * i);
}
System.out.println();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment