#include <stdio.h>
#include <conio.h>
void main ()
{
char ch;
clrscr();
printf("enter any character:- ");
scanf("%c",&ch);
if((ch=='a')||(ch=='e')||(ch=='i')||(ch=='o')||(ch=='u'))
{
printf("this is a vowel");
}
else
{
printf("this is not a vowel");
}
getch();
}
Subscribe to:
Post Comments (Atom)
Related Post
Array:
String functions:
General (Loops-for/while)
No comments:
Post a Comment