To check whether the given character is vowel or consonant