1// vowel or consonant check program
2#include <stdio.h>
3int main()
4{
5 char ch;
6 ch = getchar();
7 if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u')
8 {
9 printf("%c is Vowel\n", ch);
10 }
11 else
12 {
13 printf("%c is consonant\n", ch);
14 }
15 return 0;
16}