#include<stdio.h>
#include<conio.h>
int main()
{
char ch;
clrscr();
printf("enter any alphabet");
scanf("%c",&ch);
switch(ch)
{
case'a':
case'A':
case'e':
case'E':
case'i':
case'I':
case'o':
case'O':
case'u':
case'U':
printf("%c is vowel");
break;
default:
printf("%c is consonant");
break;
}
getch();
return 0;
}
0 comments:
Post a Comment