strings-Difference in Ascii Codes

is it right logic.If yes than how can i correct it.

Hello @sudhanshu8917,

Please share your code.
I cannot help you unless you share it with me.