Write a program to implement a simple code that replaces each character by another character that is a fixed number of positions away in the collating sequence. for example, if each character is repla

Write a program to implement a simple code that replaces each character by another character that is a fixed number of positions away in the collating sequence. for example, if each character is replaced by the character that is two characters to the right, then the letter ‘a’ is replaced by the letter ‘c’, the letter ‘b’ is replaced by the letter ‘d’, and so on