Anyone knows a simple code on how to separate consonant and vowel words on a string?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Anyone knows a simple code on how to separate consonant and vowel words on a string??

Anyone knows a simple code on how to separate consonant and vowel words on a string??

13th Sep 2018, 1:21 PM
Kari Gakure
Kari Gakure - avatar
1 Réponse
+ 1
Kari Gakure consider a string as input... loop through all characters of string.. if it is vowel , append character into string of vowel or else append character into string of consonant.. hih, ketan
13th Sep 2018, 3:33 PM
Ketan Lalcheta
Ketan Lalcheta - avatar