/*****************************************************/
/* ENTER A STRING & COUNT NO. OF VOWELS IN IT        */
/*****************************************************/
#include<stdio.h>
#include<conio.h>
void main()
{
 clrscr();
 int count=0,i,j,n;
 char v[5]={'a','e','i','o','u'};
 char a[50],a1[50];
 printf("ENTER A STRING:\t");
 scanf("%s",&a);
 for(n=0;a[n]!='\0';n++)
 {
  a1[n]=a[n];
 }
 /*checking of no. of vowels*/
 for(i=0;i<=n;i++)
 {
  for(j=0;j<5;j++)
  {
   if(a[i]==v[j])
   {
    count++;
   }
  }
 }
 printf("\nNO. OF VOWELS IN THE GIVEN STRING=%d",count);
 getch();
}