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

1234567891011121314151617import 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(); int c = sc.nextInt(); System.out.println((a+b)%c); System.out.println((a%c + b%c)%c); System.out.println((a*b)%c); System.out.println((a%c * b%c)%c); }} Colored by Color Scriptercs 링크▼https://www.acmicpc.ne..

image