Write a program that reads a word and prints the number of vowels in the word. For this exercise, assume that a, e, i, o, u, y are
vowels. For example, if the user provides the input “Harry”, the program prints 2 vowels.
Break your program into the following methods:

String readAWord()

int countVowels(String word)

boolean isVowel(char ch)

Member Avatar for matthewd673

Well, heres something: Click Here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.