Source Code :
#include<stdio.h>
#include<conio.h>
void main()
{
char in;
///input=alphabet
printf("\n Enter An Alphabet :: ");
scanf("%c",&in);
#include<conio.h>
void main()
{
char in;
///input=alphabet
printf("\n Enter An Alphabet :: ");
scanf("%c",&in);
if(in=='a'||in=='A'||in=='e'||in=='E'||in=='i'||in=='I'|| in=='o'||in=='O'||in=='u'||in=='U')
printf("\n %c is a Vowel",input);
else
printf("\n %c is a Consonant",input);
getch();
}
printf("\n %c is a Vowel",input);
else
printf("\n %c is a Consonant",input);
getch();
}
Result:
Enter An Alphabet :: A
A is a Vowel
Related Terms
what is c programming
in c programming
about c programming
about c programming language
c programming code
the c programming language
c programming language
c programming
programming
programming in c
computer programming
game programming
programming software
software programming
0 comments:
Post a Comment