[백준 알고리즘] 10869번 (java)
언어, 알고리즘 공부/백준2018. 9. 19. 17:16[백준 알고리즘] 10869번 (java)

123456789101112131415import 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); System.out.println(a-b); System.out.println(a*b); System.out.println(a/b); System.out.println(a%b); }}Colored by Color Scriptercs 링크▼https://www.acmicpc.net/problem/10869

image