If there is consecutive x then the output is not coming as expected

all test cases passed but in visual stdio,if i am taking consecutive x then the output is not coming right,some x still remains in between

hi @itzzeeshu5, here all test cases passed?

yes here all test case passed