#include <stdio.h>
#include <ctype.h>
int main() {
char c = 'A';
if (isxdigit(c)) {
printf("%c is a hexadecimal digit", c);
} else {
printf("%c is not a hexadecimal digit", c);
}
return 0;