Can you read this

how to solve this question

@Legendankit Problem can be solved by dividing the input string at position, i, either if it is the last letter, or is a capital letter. So take a temporary string temp and keep adding characters from the original string into it until you find an uppercase letter, once you find it, print this temp , and clear this temp string. Repeat the above process until you ultimately reach the last character of the input string. At this point print the temp string for one last time and terminate your code.

1 Like

@Legendankit If you don’t have any further queries please mark the doubt as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.