I have re-checked it many times but the output doesn't print on screen. Kindly help!

enter image description here

  • 1
    In the future, please don't use images to post code. It's impossible to cut and paste an image into the IDE to test the code. For guidance on how to post code, please review meta.stackexchange.com/questions/22186/…
    – Cliff B
    Commented Jul 12, 2016 at 18:51

1 Answer 1


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. ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .