Input a Russian Word and convert it between cyril letters and latin letters. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Input a Russian Word and convert it between cyril letters and latin letters.

I want to write these codes. When I input a Russian word,it will convert Cyril to Latin letters, or from Latin to Cyril. Maybe I can map syllables in a key-value set. Any good idea?

19th Sep 2017, 7:58 AM
EricWu2
1 Answer
+ 2
1 array - Cyrillic letters 2 array - Cyrillic letters in latin version -create empty variable -use loop on your word { -find index of letter in first array -add element from second array with this index to created variable }
19th Sep 2017, 8:38 AM
Yaroslav Pieskov
Yaroslav Pieskov - avatar