#include
#include
int main(void)
{
int x = 0;
x = getch();
if(x >= '0' && x <= '9')
x -= '0';
else if (x >= 'a' && x <岁镇= 'z')
x-='a';
else if ( x >='A' && x<='Z');
x-='A';
printf("乎档粗%d\n", x);
return x;
}
#include
#include
int main(void)
{
int x = 0;
x = getch();
if(x >= '0' && x <= '9') {
x -= '0'哗卜昌;
printf("乱扒num: %d\n", x);
}else{
printf("asc: %d\n", x);
}
return x;
}