Created
March 19, 2020 08:57
-
-
Save SCI-COPATH/53d124444701ae86f65ba83e746a4cee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <conio.h> | |
void main() | |
{ | |
char ch; | |
clrscr(); | |
printf("Enter a charator\n"); | |
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 a vowell",ch); | |
break(); | |
defalut:Printf("%c is not a vowell",ch); | |
} | |
getch(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment