C Plus Plus Programming

You can learn all c++ programming in this website easilly.

Responsive Ads Here

Adds

Monday, January 21, 2019

how we find vowel words



Programme:

#include<iostream>
using namespace std;
int main()
{
char ch;
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