Anyone knows a simple code on how to separate consonant and vowel words on a string?? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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