I tried a lot creating my own string tokenizer function which divides the string when it encounters a upper case letter but it is giving wrong output.
I am not getting any other approach to solve the problem.
Sir please tell me what approach i should follow?
Doubt in CanYouReadThis problem
@rishu7865 hey rishabh apply a loop
for(int i=0;s[i]!=ā\0ā;i++)
if(i==0&&s[i]>=āAā&&s[i]<=āZā)
cout<<s[i];
else if(s[i]>=āaā&&s[i]<=āzā)
cout<<s[i];
else if(s[i]>=āAā&&s[i]<=āZā)
cout<<endl;
cout<<s[i];
close the loop