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)