Menu
Question Index
...

Write a program to find if a given word is vowel delimited. This means every alternate character in the word should be a vowel. If first letter is vowel, then third, fifth, seventh etc letters should be vowels. Otherwise if second letter is vowel, then fourth, sixth, eighth etc should be vowels.

Input (String) Output (Boolean)
Alex true
Alakay true
Juba true
Marty false
Gloria false
Melman false



class IsVowelDelimitedWord
{
    public static void main(String s[])
    {
        System.out.println("Alakay is vowel delimited : " + isVowelDelimited("Alakay"));

    }


    public static boolean isVowelDelimited(String word) {
    }

}

Doubts

Problems

Topic: Conclusion Of Strings In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App