- 1
Function that returns the letter 5 positions earlier
Consider the following keyless encryption algorithm. For each letter in the message, substitute the letter five positions ahead in the alphabet (consider a circular alphabet, i.e., the letter following the 'Z' is the 'A'). The algorithm for deciphering is to run the same algorithm but returning the letter five positions earlier. Define the encodeCypher1 and decodeCypher1 functions that implement the described process.
7 Answers
+ 1
Show your attempt please. This is not homework delivery service.
+ 1
Yes please
+ 1
Are you looking for something like this?
Study this and try to understand what's going on:
https://code.sololearn.com/c2gijGbEZ71R/?ref=app
0
Iām struggling a lot with this one and another one that Iāve published, I can barely get a correct line of code on them
0
But Iāll give it a shot and send it
0
Iām struggling so much I canāt move on from here, and I know it aināt that hard too
https://code.sololearn.com/c4jNJ0Ikq7Ww/?ref=app
0
I just canāt think of a way to return the letter 5 positions ahead