Write a program to encode text in Africa-AlphaNumeric code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Write a program to encode text in Africa-AlphaNumeric code

Africa AlphaNumeric code is a system of encoding text by combining texts and numbers, the letter'a' is added after every consonant and vowels are changed to numbers corresponding their vowel index, ie a-1, e-2, i-3, o-4 u-5. example input Love output la4v2 input parent output pa1ra2nata

5th Oct 2017, 4:14 PM
Meyoron Aghogho
Meyoron Aghogho - avatar
2 Answers
5th Oct 2017, 5:59 PM
Amr Ibrahim Khudair
Amr Ibrahim Khudair - avatar
+ 3
here's mine, keep the codes coming https://code.sololearn.com/c4x7Ye7VVur1/?ref=app
5th Oct 2017, 4:18 PM
Meyoron Aghogho
Meyoron Aghogho - avatar