I want write a java program where Inputs :AAABBBCC or ABGGAAWW11122 Output : AAA3BBB3CC2 Or A1B1GG2AA2WW21113222 Please help. Thank you?

2 answers 2