I write letter, it checks vowel or not
but could not achieve for the capital letter without using if loop
help me
#include <cstdlib>
#include <iostream>
#include "stdio.h"
#include "conio.h"
#include "string.h"
using namespace std;
int main(int argc, char *argv[])
{
int a,b;
char ch;
printf("Enter Letter=");
scanf("%c",&ch);
if (ch==a)
printf("vowel");
else
if (ch=='a')
printf("vowel");
else
if (ch=='e')
printf("vowel");
else
if (ch=='i')
printf("vowel");
else
if (ch=='o')
printf("vowel");
else
if (ch=='u')
printf("vowel");
else
printf("not vowel");
getch();
system("PAUSE");
return EXIT_SUCCESS;
}