Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite- 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 Réponses
+ 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