Reverse string output

should i use string reverse inbuit fnc here or something else

@Ashu1318 what are you trying to say? where?

how can we print the subsequence in reverse order ??

@Ashu1318 just exclude first then include
if not being able to share your code i will do the updation