10869번

백준

[JAVA] 백준 10869번 사칙연산

import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); Integer a = scanner.nextInt(); Integer b = scanner.nextInt(); System.out.println(a+b); System.out.println(a-b); System.out.println(a*b); System.out.println(a/b); System.out.println(a%b); } }

DEV장화
'10869번' 태그의 글 목록