카이사르 암호
백준 5598 카이사르 암호
https://www.acmicpc.net/problem/5598 public class Boj5598_카이사르암호 { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); for (int i = 0; i < str.length(); i++) { // A, B, C는 X, Y, Z가 나와야하는데 -3을 하면 값이 이상해지므로 23을 더해줌 if(str.charAt(i) - 68 < 0) { // 한 글자씩이며 charAt은 char를 반환하므로 char로 변환해야함. Sy..