/* To read a char from KB and Check is it vowel or not */
#include "stdio.h"
#include "conio.h"
main()
{
	char in;
	clrscr();
	printf ("enter the Character\n");
	scanf("%c",&in);
	switch(in)
	{
		case 'a':
			printf("%c is Vowel",in);
			break;
		case 'e':
			printf("%c is Vowel",in);
			break;
		case 'i':
			printf("%c is Vowel",in);
			break;
		case 'o':
			printf("%c is Vowel",in);
			break;
		case 'u':
			printf("%c is Vowel",in);
			break;
		default:
			printf("%c is not a Vowel",in);
	}
	getch();
}

/*
	Note: We can do the above program by the following way
	      In program we can compare both upper and lower case letters
	      case 'a':
	      case 'A':
			printf("%c is Vowel",in);
			break;

	Exercise:
	   1. To read a char from KB and Check is it arithmetic operator or not
*/