728x90
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int n = Integer.parseInt(br.readLine());
for(int i = 1; i <= 9; i++) {
System.out.printf("%d * %d = %d", n, i, n * i).println();
}
}
}
728x90
'✍ Baekjoon' 카테고리의 다른 글
[백준/JAVA] (CLASS1) 2753번 윤년 (0) | 2022.06.07 |
---|---|
[백준/JAVA] (CLASS1) 2741번 N 찍기 (0) | 2022.06.07 |
[백준/JAVA] (CLASS1) 2557번 Hello World (0) | 2022.06.06 |
[백준/JAVA] (CLASS1) 2475번 검증수 (0) | 2022.06.06 |
[백준/JAVA] (CLASS1) 2438번 별 찍기 - 1 (0) | 2022.06.06 |