Web Developer

PHP Code to Decipher a Message

My Latest Code

Decipher this!

You are given several secret messages you need to decipher.
Here are the conditions:
1. The first letter corresponds to ASCII character code (case sensitive)
2. The second letter needs to be switched to the last letter
3. The last letter needs to be switched to the second letter
4. If it only has one letter, it will be unchanged
5. If it only has two letters, you will just need to convert the ASCII character code to a letter
6. Keepin’ it simple — there are no special characters

  Related Posts
  • No related posts found.