title: Finding the number of two consecutive vowels in a string does not work
body: <p>When two vowels come one after another then the count should increment.But i dont know why its incrementing it more than that.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;conio.h&gt;
  void main(void)
  {       
      int i,j,count=0;
      char string[80];
      printf("Enter a string:\n");
      gets(string);
      for(i=0; ;i++)
      {
          if(string[i]=='\0')
              break;
          if(string[i]=='a'||string[i]=='A'||string[i]=='e'||string[i]=='E'||string[i]=='i'||string[i]=='I'||string[i]=='o'||string[i]=='O'||string[i]=='u'||string[i]=='U')
          {
              if(string[i+1]=='a'||string[i]=='A'||string[i]=='e'||string[i]=='E'||string[i]=='i'||string[i]=='I'||string[i]=='o'||string[i]=='O'||string[i]=='u'||string[i]=='U')
              count++;
          }
      }
      printf("%d",count);
      getch();
  }
  </code></pre>