Since this is probably homework, where the objective is learning rather than producing a correct answer, I’ll offer some guidance.
- Loop through each character in the string.
- If the character is a letter, increment the value of the character at that position by one
- Output the result of this loop.
3
solved How to write encryption function in C