Program to check whether an alphabet is a Vowel or not

#include<iostream.h>
#include<conio.h>
void vowel(char a);
void main()
{
clrscr();
char a;
cout<<"enter a alphabet";
cin>>a;
vowel(a);
getch();
}
void vowel(char a)
{
 if(a=='a'||a=='e'||a=='i'||a=='o'||a=='u')
   {
    cout<<"vowel";
   }
 else
  {
   cout<<"not a vowel";
  }
}