Before coding, it is crucial to properly prepare your program. Here are the recommended steps:
Example (ROT13 on a letter):
1. Read a letter.
2. Find its position in the alphabet.
3. Add 13 to this position.
4. If we exceed Z, go back to the beginning of the alphabet.
5. Give the new letter.
Example (ROT13 on a letter):
Read letter
position ← rank(letter)
new_position ← position + 13
IF new_position > 26 THEN
new_position ← new_position - 26
END IF
Display corresponding_letter(new_position)