The point of this thread is to post your code for solving the task. Other will comment with feedback and new ideas. Post what language (and version, if relevant) your code is written in.
Your task is to make a caesar cipher that takes a word and an integer as arguments.
An article explaining what the cipher does.
A word followed by a space and an integer.
The ciphered word.
A 1 Caesar 5 Tildes 25
B Hfjxfw Shkcdr
Make the cipher work backwards.
B 1 Hfjxfw 5 Shkcdr 25
A Caesar Tildes
Make the cipher handle special characters.
A_ 1 Cae?sar 5 Til!des 25
B Hfj?xfw Shk!cdr