Question
Extra Credit Assignment: 15 pts possible Coded Words Below is a list of coded words and the code key for each word. Coded Word Code
Extra Credit Assignment: 15 pts possible
Coded Words
Below is a list of coded words and the code key for each word.
Coded Word Code Key
ZQZIO 5 EJKNF 24 ITUFQ 14 BLUFJ 9 SHGXL 7 GCGPI 22
To decipher each word, move forward in the alphabet the same number of letters (the code key) for each letter in the word. For example, if you move ahead 23 letters (code key = 23) for each letter in DVFLL you will get ASCII.
For this program, the end of the alphabet connects with the beginning of the alphabet (Z moved forward 3 letters = C).
Write a program that allows the user to enter the codded word and the key and displays the deciphered word to the user.
Example Output:
Enter your 5 letter coded word: DVFLL Enter the key for the coded word: 23 DVFLL decoded is ASCII
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started