#include <stdio.h>
int main()
{
char x;
printf("Enter a character\n");
scanf("%c",&x);
if (x == 'a'|| x == 'e' || x == 'i' || x == 'o' || x == 'u')
printf("%c is a vowel\n",x);
else
printf("%c is not a vowel\n",x);
return 0;
}
Comments