Hexaware Technologies Interview Question

code to check given character is vowel or not?