#include #include int main() { char c; printf("文字を入力してください:"); scanf_s("%c", &c, sizeof(c)); if (isalpha(c)) { printf("%cはアルファベット文字です。\n", c); } else if (isdigit(c)) { printf("%cは10進数の数字です。\n", c); } else { printf("%cはアルファベット文字でも10進数の数字でもありません。\n", c); } return 0; }