코딩도장 - 문자열 압축하기 import java.util.Scanner; public class StringZip { public static void main(String[] args) { Scanner sc = new Scanner(System.in); System.out.println("문자를 입력하세요"); String word = sc.nextLine(); System.out.println(zip(word)); sc.close(); } public static String zip(String compress) { String result = ""; int count = 1; for (int i = 0; i < compress.length() - 1; i++) { if (compress.char..