1234
//assuming 'a' is a char if(toupper(a) == 'A') //or if(tolower(a) == 'a')
if( !( a != 'a' && a != 'A' ) ) { }