https://www.acmicpc.net/problem/10430 10430번: 나머지 첫째 줄에 A, B, C가 순서대로 주어진다. (2 ≤ A, B, C ≤ 10000) www.acmicpc.net import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); int C = in.nextInt(); System.out.println((A+B)%C); System.out.println(((A%C)+(B%C))%C); System.out.println((A*B)%C);..
백준
https://www.acmicpc.net/step/1 입출력과 사칙연산 단계 입출력과 사칙연산 www.acmicpc.net 10926 ??! import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String A = in.next(); System.out.println(A + "??!"); in.close(); } } 18108 1988년생인 내가 태국에서는 2541년생?! import java.util.Scanner; public class Main { public static void main(String[] args) { Scanne..
https://www.acmicpc.net/step/1 입출력과 사칙연산 단계 입출력과 사칙연산 www.acmicpc.net 1000 A+B import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int A = in.nextInt(); int B = in.nextInt(); System.out.println(A+B); in.close(); } } 1001 A-B import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = n..