문제 복잡한 듯 보이지만, 출력 예시만 보면 된다. 말 그대로 값을 입력받고 그 값에 대한 수식을 system.out.println으로 뽑기만 하면 되는 방식 .. Buffer를 써도 되고 Scanner를 써도 무관. 이번 포스팅은 Scanner 방식 답안 import java.util.Scanner; public class Main { public static void main(String arg[]) throws Exception{ Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); sc.close(); System.out.println((A+B)%C); System.o..