#include<stdio.h>
#include<conio.h>
void main()
{
char c;
clrscr();
printf("Enter any character : ");
scanf("%c",&c);
 if(c=='A' || c=='A' || c=='E' || c=='I' || c=='O' || c=='U' || c=='a' || c=='e' || c=='i' || c=='o' || c=='u')
 {
  printf("vowel");
 }
 else
 {
 printf("Consonant");
 }
 getch();
}
INPUT
Enter any character : i
OUTPUT
vowel

Leave a Reply

Subscribe to Posts | Subscribe to Comments

All Notes on BCA

All Notes  on BCA
BCA all subjects notes

Total Pageviews

Translate

Powered by Blogger.

Copyright © All Notes on BCA