Last active
January 15, 2024 08:01
-
-
Save Starlight258/010113afbb4b3d5fbb66056c70b88d72 to your computer and use it in GitHub Desktop.
0114_과제1
This file contains 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
// 김명지 | |
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