me code eka C# walin gahala dennako
Write a program that will accept as input a sentence, encode the sentence using the following rules, and then display the sentence in its encoded format. Rules for encoding are as follows:
• A consonant will be replaced by the 3 rd consonant after it. E.g. G will be replaced by K.
• A vowel will be replaced by the 2nd vowel before it. E.g. I will be replaced by A.
• A number in digits will be flipped and doubled. E.g., 52 will be replaced by 50.
• Full-stops, exclamation marks and question marks will be replaced by the hash sign. Other punctuation marks will be removed. After encoding five sentences the encoded sentences will then be displayed as separate sentences
Write a program that will accept as input a sentence, encode the sentence using the following rules, and then display the sentence in its encoded format. Rules for encoding are as follows:
• A consonant will be replaced by the 3 rd consonant after it. E.g. G will be replaced by K.
• A vowel will be replaced by the 2nd vowel before it. E.g. I will be replaced by A.
• A number in digits will be flipped and doubled. E.g., 52 will be replaced by 50.
• Full-stops, exclamation marks and question marks will be replaced by the hash sign. Other punctuation marks will be removed. After encoding five sentences the encoded sentences will then be displayed as separate sentences