Character is Vowel or Not

/* Write a program to find that a Character is Vowel or Not */

#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("\n Enter a character ");
scanf("%c",&ch);
if((ch=='a')||(ch=='e')||(ch=='i')||(ch=='o')||(ch=='u')||(ch=='A')||(ch=='E')||(ch=='I')||(ch=='O')||(ch=='U'))
{
printf("\n Entered character %c is Vowel ",ch);
}
else
{
printf("\n Entered character %c is NOT VOWEL ", ch);
}
getch();

}

Who's online

We have 15 guests and no members online

About Us

Harsimran Singh

Hello

This website is a special gift for Programming Lovers , which want to learn basic Programming Languages and want to develop there skills Read More....

Our work

Find Us

This email address is being protected from spambots. You need JavaScript enabled to view it.

Harsimran Singh(Facebook)

Harsimran Singh(about.me)

Harsimran Singh(G+)