I have re-checked it many times but the output doesn't print on screen. Kindly help!
Actually, it is processing your encoded letters. Your formula for encoding the letters is wrong. It produces ASCII values that correspond to unprintable control characters.
You should review the class materials on how to encode a letter, paying strict attention to ASCII values vs. numbers from 0 to 25 inclusive.
If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)