Skip to content

Instantly share code, notes, and snippets.

@SCI-COPATH
Created March 19, 2020 08:57
Show Gist options
  • Save SCI-COPATH/53d124444701ae86f65ba83e746a4cee to your computer and use it in GitHub Desktop.
Save SCI-COPATH/53d124444701ae86f65ba83e746a4cee to your computer and use it in GitHub Desktop.
#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