Subscribe For Free Updates!

We'll not spam mate! We promise.

Monday, 27 August 2012

C++ code to find Vowels from a-z character using for loop



#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
for(char alpha='A'; alpha<='Z'; alpha++)
{
if(alpha=='A' || alpha=='E' || alpha=='I' || alpha=='O' || alpha=='U')
{
cout<<alpha;
}
}
return 0;
}

Socializer Widget By CodingLovers
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment