/*WAP to print the character entered by user is a vowel or consonant*/
//Header files
#include<stdio.h>
#include<conio.h>
//Main function
void main()
{
char c;
//Function for clearing screen
clrscr();
printf("Enter a character:");
scanf("%c",&c);
// using if-else conditional statements with logical OR operator
if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u')
{
printf("Its a vowel!");
}
else
{
printf("Its a consonant!");
}
//Function for holding screen until any key is pressed
getch();
}