Last active
August 2, 2023 00:49
-
-
Save kingseungil/cdd0d642fc3337082b69e7b13a571470 to your computer and use it in GitHub Desktop.
Zerobase-miniproject
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 Miniproject1 { | |
public static void main(String[] args) { | |
System.out.println("[구구단 출력]"); | |
for (int i = 1; i <= 9; i++) { | |
for (int j = 1; j <= 9; j++) { | |
System.out.print(String.format("%02d X %02d = %02d" + "\t", j, i, i * j)); | |
} | |
System.out.println(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment