ShriRam Changed status to publish July 15, 2022
#include<stdio.h>
void main()
{
char d;
printf("Enter an alphabet:");
scanf("%c",&d);
if(d=='a'|| d=='e'||d=='i' ||d=='o' ||d=='u')
printf("%c is a vowel.", d);
else
printf("%c is a consonant.", d);
getch();
}
ShriRam Changed status to publish July 15, 2022