if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') { printf("%c is vowel ", ch); } else { printf("%c is consonant ", ch); }