#include
void main()
{
int i,count=0;
char str[9];
printf("Enter a Word : ");
gets(str);
for(i=1;i<8;i++)
{
if('a'==str[i]||'e'==str[i]||'i'==str[i]||'o'==str[i]||'u'==str[i])
count++;
}
printf("Vaval count is:%d",count);
}
Sunday, December 14, 2008
Finding the Vowels Count in a Word
Posted by
BADTNC
at
11:48 AM
Labels: C Programming
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment