#include<stdio.h> |
void
main() |
{ |
char c; |
printf("\nEnter The Character : "); |
scanf("%c",&c); |
switch(c)
|
{ |
case ‘a’: |
case ‘A’:printf(“\n%c
is a vowel”,c);break; |
case ‘e’: |
case ‘E’:printf(“\n%c
is a vowel”,c);break; |
case ‘i’: |
case ‘I’:printf(“\n%c
is a vowel”,c);break; |
case ‘o’: |
case ‘O’:printf(“\n%c
is a vowel”,c);break; |
case ‘u’: |
case ‘U’:printf(“\n%c
is a vowel”,c);break; |
default :printf(“\n%c
is not a vowel”,c); |
} |
} |