Infolinks - Earn Easy Money

Saturday, April 4, 2015

C++ Program to findout either the given character is vowel or not

#include <iostream>
using namespace std;
int main (  )
{
char a;
cout <<" Enter a character \n";
cin >> a;

if ( a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u')
{
cout <<" character is vowel ";
}
else
{
cout <<" Character is not a vowel ";
}
return 0;
}

1 comment:

  1. King Casino - Shootercasino.com
    King Casino. King Casino features a wide variety 메리트 카지노 주소 of slot games 바카라 사이트 ranging 제왕카지노 from video slots, progressive jackpot slots, and video  Rating: 4.4 · ‎14 votes

    ReplyDelete

Must drop your comments about post.