Can someone help me in my code? When I input Committee the output should be 3 mte and it is correct but when I input mmmmrrnzzz the output should be 4 mmrz instead I get 5 mmrz. What is wrong in my code? Can someone help me. Thanks
This is an example of what should I make.
Sample Run:
Enter string: Mississippi
3
ssp
I don't quite understand what I should do. Should I output x and x+1? Thanks and also I already use code tags :) thank you for informing about the code tags