+ 1
String has combination of vowels and consonants.if there are any two vowels are adjacent to each other then swap those two vowel
for example string="abcieobcio" in this string at "ieo" are adjacent vowels and at "up" at last adjacent vowels are there.so swap them and print the string after swapping those vowels.
3 Respostas
+ 2
you can do it e.g.
compare if given letters is a consonant if true then if next letters is a consonant...
you can use
loop for(); charAt(); contsins();
+ 1
bro write the code and send to me please. I am unable to understand with words
0
ok thank you bro.I will try