String Compression

A collection of 1 post

String Compression

Problem Write a program that compresses a character string by inputting a character string consisting of uppercase letters and writing the number of repetitions to the right of the repeated character when the same character is repeated continuously.
However, if the number of repetitions is…