#include<stdio.h>
#include<string.h>
void main()
{
    int len,i,vowel_count=0;
    char text[500];
    printf("\nEnter text:\n");
    gets(text);
    len=strlen(text);
    for(i=0;i<len;i++)
    {
        switch(text[i])
        {
            case 'a':
            case 'A':
            case 'e':
            case 'E':
            case 'i':
            case 'I':
            case 'o':
            case 'O':
            case 'u':
            case 'U':
                vowel_count++;

        }
    }
    printf("\nTotal number of vowels in given text are %d\n ",vowel_count);
}
