This program is supposed to count the vowels ('a','e','i','o',and 'u') in a string that the user writes. Counters are to be used separately for each vowel. Can someone check to see if I wrote it correctly and does what it's supposed to do. If you can improve it, without getting too complicated, please do so. Any comments are also strongly encouraged. Thank you........
Code:
#include <stdio.h>
#include <conio.h>
#include <ctype.h>

int main()
{
  char message[81];   /* enough storage for a complete line   */
  
  int index,a,e,i,o,u,z;
  index=0,a=0,e=0,i=0,o=0,u=0,z=0;

  printf("Please enter a sentence:");
  gets(message);

 for (index=0; message[index];index++)
	message[index]=toupper(message[index]);

  for (index=0;message[index] !='\0';index++)
  {
	  if (message[index]=='A')
		  a++;
	  else if (message[index]=='E')
		  e++;
	  else if (message[index]=='I')
		  i++;
	  else if (message[index]=='O')
		  o++;
	  else if (message[index]=='U')
		  u++;
	   
  }
   printf("\nThe following vowles are in the sentence you just typed:\n\n");

  printf("Vowel a:  %d\n", a);
  printf("Vowel e:  %d\n", e);
  printf("Vowel i:  %d\n", i);
  printf("Vowel o:  %d\n", o);
  printf("Vowel u:  %d\n", u);

  getch();

  return 0;
}