Codes of the string

error

hello @nmaurya760 i have made all the necessary changes in your code i have made changes and now it is printing the correct output.


i hope i have cleared your doubt .
Happy Learning !!

what is the error in this code