I wrote the code but its not running.Please correct this code and tell me my mistake

Link:https://ide.codingblocks.com/s/318034

in your code
at line no 66
modifiy the codition with this
while(S[j]!=’\0’&&t)

your code will run but not give correct output
because there is some mistakes

i have modified Your code
you can check the modified code below

Modified Code

if you want to ask something about this feel free to ask
i hope this helps
if yes show your response with :heart: and don’t forgot to mark doubt as resolved