백준/Bronze
[코딩테스트] 백준 10998번
Kangharyeom
2022. 9. 9. 18:29
728x90
10998번은 문제 1000번과 같은 유형이다. Scanner를 불러오고 정수 A,B값을 받아줄 변수를 선언하고 sysout하면 된다.
import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner ab = new Scanner(System.in);
int a = ab.nextInt();
int b = ab.nextInt();
System.out.println(a*b);
}
}
짜잔~!!! 이제는 비슷한 유형을 넘어가야 하나 고민이 된다. 아니면 포스팅을 하지 말아야하나???
고민좀 해봐야겠다.