Question: Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher. The script should
Write a script that inputs a line of plaintext and a distance value and outputs an encrypted text using a Caesar cipher.
The script should work for any printable characters. An example of the program input and output is shown below:
Enter a message: Hello world!
Enter the distance value: 4
Output: Lipps${svph%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
