728x90
출처-https://www.acmicpc.net/problem/2739
728x90
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scan=new Scanner(System.in);
int num=scan.nextInt();
for (int i=1;i<=9;i++)
System.out.println(num+" * "+i+" = "+(num*i));
}
}
728x90
'Problem Solving > BOJ' 카테고리의 다른 글
[백준, BOJ 8393] 합 (java) (0) | 2020.08.08 |
---|---|
[백준, BOJ 1924] 2007년 (java) (0) | 2020.08.08 |
[백준, BOJ 2742] 기찍 N (java) (0) | 2020.08.08 |
[백준, BOJ 2011] 암호코드 (java) (0) | 2020.08.08 |
[백준, BOJ 2225] 합분해 (java) (0) | 2020.08.01 |