You have been tasked to write a C# application that will go through the first step of encrypting an input file and writing the encrypted contents to an output file.
For this first step in encryption, read each letter in from the input file, add 3 letters to the value of the input letter. If the input letter is an A then the encrypted letter would be D. If the input letter is an X then the encrypted letter would be an A.
All spaces, digits, punctuation, and special characters do not need to be encrypted at this level. Simply write the space, punctuation, or special character to the output file as is.
If a letter is uppercase in the input file, it should remain as an uppercase character in the output file. If a letter is lowercase in the input file, it should remain as a lowercase character in the output file.
Since this program runs each month, the input file will be of various lengths; therefore, the program will read until end of file.
The input file is found in the current directory and is named October20.txt. The output file will be written to the current directory and named EncryptOct20.txt
An example:
If the contents of the input file is
Live long and prosper.
The output file would be:
Olyh orqj dqg survshu.
What the user should see when the program executes: