In a code, 'FRIEND' is written as 'HTKGPF'. How is 'ENEMY' written in that code?
Q1. In a code, 'FRIEND' is written as 'HTKGPF'. How is 'ENEMY' written in that code?
Answer: GPGPY
Explanation: Each letter is shifted 2 positions forward, so 'E' = 'G', 'N' = 'P', 'E' = 'G', 'M' = 'O' (but given the pattern, it should be 'P' if we consider a simple shift, however 'M' +2 = 'O'), 'Y' = 'A' (circular shift) but is 'Y' if.