728x90
반응형
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import java.util.Scanner;
public class Solution {
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);
System.out.println(a-b);
System.out.println(a*b);
System.out.println(a/b);
}
}
|
cs |
728x90
반응형
'알고리즘 > SWEA' 카테고리의 다른 글
| 2019. 더블더블.D1* (0) | 2022.02.05 |
|---|---|
| 1936. 1대1 가위바위보.D1 (0) | 2022.02.05 |
| 2025. N줄덧셈.D1 (0) | 2022.02.05 |
| 2027. 대각선 출력하기.D1 (0) | 2022.02.05 |
| 2029. 몫과 나머지 출력하기.D1 (0) | 2022.02.05 |