import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
System.out.println(A*B);
}
}
마찬가지로, A+B에서 A*B로 바꿔주면 된다.
1000. A+B 참조.
'백준 문제풀이 > 입출력과 사칙연산' 카테고리의 다른 글
| 10869. 사칙연산 (0) | 2022.08.28 |
|---|---|
| 1008. A/B (0) | 2022.08.28 |
| 1001. A-B (0) | 2022.08.28 |
| 1000. A+B (0) | 2022.08.28 |
| 10718. We love kriii (0) | 2022.08.28 |