program to check whether a character is a vowel or a consonant