Q. Input string and count number of vowels.

#include<stdio.h>
#include<conio.h>
#include<string.h>

void main()
{
   char s[20];
   int len, i, v=0;
   clrscr();
   printf("Enter string");
   gets(s);
   len = strlen(s);
   for(i=0;i<len;i++)
   {
      if(s[i]=='a'||s[i]=='e'||s[i]=='i'||s[i]=='o'||s[i]=='u')
      {
         v++;
      }
   }
   printf("Total vowel in %s is %d", s, v);
   getch();
}