10998번: A×B
두 정수 A와 B를 입력받은 다음, A×B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
import java.util.Scanner;
public class multitple {
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);
}
}
'- 코딩 공부 > Algorithm' 카테고리의 다른 글
킹, 퀸, 룩, 비숍, 나이트, 폰 (0) | 2021.03.16 |
---|---|
검증수 (0) | 2021.03.16 |
아스키 코드 (0) | 2021.03.16 |
홍익대학교 (0) | 2021.03.16 |
1998년생인 내가 태국에서는 2541년생?! (0) | 2021.03.16 |