Programme:
#include<iostream>
using namespace std;
int main()
{
 cout<<"Enter an alphabet=";
 cin>>ch;
 {
  if(ch=='A'||ch=='a'||ch=='E'||ch=='e'||ch=='I'||ch=='i'||ch=='O'||ch=='o'||ch=='U'||ch=='u')
  cout<<ch<<":is a vowel";
  else
  cout<<ch<<":is not a vowel";
 }
}
 


 

 
 
 
 
No comments:
Post a Comment