The program allows the user to input a String literal, and the program shall display an encoded String literal as an output.
For example, a String literal “zoo kch” has a length of 6 characters. Thus, the encoded output is:
z→ws→a→b→c→d→e
o→p→q→r→s→t→u
o→p→q→r→s→t→u
ws→a→b→c→d→e→f
k→l→m→n→o→p→q
c→d→e→f→g→h→i
h→i→j→k→l→m→n
The encoded String literal: “euufqin”