Strings-Difference in Ascii Codes

i know this simple question but some problem happened in my logic and i need code

@khemchandrs
We cannot provide you with the solution code. Share your own code and we can help you out by pointing out your mistakes.