Praveen | Typing Speed Test is a very useful Software available for free Download.

C Programs to Check the Vowel Or Not in the Given Alphabet

      This C program to check alphabet is vowel or not. Both lower case and upper case are checked alphabet, And find out the vowels to print.


C programming code in an alphabet

#include<stdio.h>
#include<conio.h>

void main()
{
   char ch;
   clrscr();
   printf("\n Enter a character ");
   scanf("%c",&ch);
   if ( ch == 'a' || ch == 'A' || ch == 'e' || ch == 'E' || ch == 'i' || ch == 'I' || ch =='o' || ch=='O' || ch == 'u' || ch == 'U')
      printf("\n %c is a vowel.", ch);
   else
      printf("\n %c is not a vowel.", ch);
   getch();
}


Output:-