Stirng difference in ascii code negative doubt

i am not able to store the negative difference in character and i am not able to find the error in logic despite using double strings.I am using output to check what my program is calculating