The rth letter is shifted to (r+1)th letter for r=1,3,5…..21,23,25 letters.
The rth letter is shifted to (r-1)th letter for r=2,4,6…..22,24,26 letters
In decoding the inverse process is followed.
What is the code for the word ‘GREGORY’?
Option 2) HQFHPQZ
Option 5) HQFHPSZ
G=7
(7+1=8) , 8th letter is H.
R=18
(18-1=17), 17th letter is Q.
E=5
(5+1=6) , 6th letter is F.
G=7
(7+1=8) , 8th letter is H.
O=15
(15+1=16) , 16th letter is p.
R=18
(18-1=17), 17th letter is Q.
Y=25
(25+1=26) , 26th letter is Z.
So GREGORY=HQFHPQZ.
G=7
(7+1=8) , 8th letter is H.
R=18
(18-1=17), 17th letter is Q.
E=5
(5+1=6) , 6th letter is F.
G=7
(7+1=8) , 8th letter is H.
O=15
(15+1=16) , 16th letter is p.
R=18
(18-1=17), 17th letter is Q.
Y=25
(25+1=26) , 26th letter is Z.
So GREGORY=HQFHPQZ.