Write a C++ program to decrypt a 12 character message located in a file named “encrypted.txt” then print the decrypted message to the screen and a new file named “decrypted”.
You will be decrypting not encrypting. Also, the file “decrypted” does not have a file extension.
Our shift can include spaces and punctuation. We will also not worry about what happens when we are at the end of the alphabet. Our “Z” will not be encrypted as a “B”. We will instead blindly encrypt the “Z” as 4 characters beyond the alphabet (the ASCII Table shows either “^” or “~” depending on the case).