#include int main() { int a, b; printf("Enter a number: \n"); scanf("%x", &a); printf("a = %d\n", a); return 0; }