728x90
반응형
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int N = Integer.parseInt(br.readLine());
for (int i = 1; i <= 9; i++) {
System.out.printf("%d * %d = %d", N, i, N * i);
System.out.println();
}
}
}
|
cs |
728x90
반응형
'알고리즘 > 알고리즘 기초문제(백준-입출력)' 카테고리의 다른 글
st-> readLine() |vs| str->read() (0) | 2022.02.15 |
---|---|
[백준]8393_합 (0) | 2022.02.15 |
[백준]2742_기찍 N (0) | 2022.02.15 |
[백준]2741_N 찍기 (0) | 2022.02.15 |
[백준]11721_열 개씩 끊어 출력하기★ (0) | 2022.02.15 |