- 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.

5th Jan 2022, 5:34 PM
João Joana
7 ответов
+ 1
Show your attempt please. This is not homework delivery service.
5th Jan 2022, 5:36 PM
Oma Falk
Oma Falk - avatar
+ 1
Yes please
5th Jan 2022, 5:42 PM
Oma Falk
Oma Falk - avatar
+ 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
5th Jan 2022, 7:20 PM
Coding Cat
Coding Cat - avatar
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
5th Jan 2022, 5:39 PM
João Joana
0
But I’ll give it a shot and send it
5th Jan 2022, 5:39 PM
João Joana
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
5th Jan 2022, 6:00 PM
João Joana
0
I just can’t think of a way to return the letter 5 positions ahead
5th Jan 2022, 6:01 PM
João Joana