I need to create a method that receives a String and also returns a String.
Ex input: AAABBBBCC
Ex output: 3A4B2C
Well, this is quite embarrassing a
public class StringCompression { public static void main(String[] args){ String s = "aabcccccaaazdaaa"; char check = s.charAt(0); int count = 0; for(int i=0; i