Encoding and coding text.
I have to write a program like this, but i'm not that good. Please someone help me
Created file in notepad, to open and read and to make statistic for letter number(how many lettes), numbers and punctuation marks, control marks and empty spaces.
The text in the file should be encoded by the rule: encoding and decoding to be done with two diferent functions.
Key of coding: in the text to encode only the letters from the alphabet and the numbers. Every letter in the string, which is odd position to be replaced with the letter who is two places after the replacing letter in the alphabet. The last letters Y,Z to be replaced with A,B consequently. Steam letters in the string do not suffer any changes.
Odd letters numbers to be replaced with steam numbers who are their followers and odd numbers to be replaced with their steam predecessors. 9 to encode 0 and 0 with 9.
Control marks and punctuation marks do not suffer any changes.
Treated like this file to be saved under a different name and be called decode.