Java Program to find the number of vowels and consonants in a string.

Output: