Error message: "error C2181:1> illegal else without matching if
2>fatal error C1075: end of file found before the left brace '{' at 'c:\documents and settings\tjeo1\my documents\visual studio 2008\projects\new\newc\exercise.cpp(3)' was matched
#include <stdio.h>
int main (void)
{
int c;
printf("letter=");
c = getchar ( );
if (('0' <= c && c <= '9') || ('A' <= && c <='F') || ('a' <= c && c <='f')){
printf ("It is a hexadecimal\n");
else {
printf (" It is not a hexadecimal\n");
}
return 0;
}