Java Program to check vowel of a character

Example 1:



Output :

 enter an Alphabet : e
 this is a Vowels

Java Program to check vowels in a sentence



Output :

 Number of vowels: 5
 Number of consonants: 9