🅿Challenge🅿 Replace Vowels With Consonants.🚶The objective of your code is to replace each vowel with a fellow consonant.
5 Answers
New AnswerYour code is to receive a string and replace the vowels, such that : 📍If the vowel is the first vowel, then replace it with the first consonant. And if the vowel is the second vowel replace it with the second consonant and so on.. 📍Example: Input=Example; Output= xxmmplp. Input=Length; Output=Llngth. 🚩Note, if the consonants are fewer than the vowels, then continue replacing the vowels from the beginning. Example : Input=AudioAaron;Output=drdndrnrdn. 🚥Notify the user, if there isn't any vowel.
12/26/2017 10:12:02 PM
Justine Ogaraku5 Answers
New AnswerNice challenge, thank you. Here's my try : https://code.sololearn.com/cBLs6jfPNR1X/?ref=app
My try in Java. Sorry but I'm new in this language. 😃 https://code.sololearn.com/co7vgU3Hlu3d/?ref=app
Here's mine in C. Sorry but code does'nt work if consonents are not sufficient enough to replace all vowels. I'll complete the code when I get the logic:) Plz suggest me if u can https://code.sololearn.com/c6pCVoNgJP74/?ref=app
SoloLearn Inc.
4 Embarcadero Center, Suite 1455Send us a message