#include <stdio.h>
int main() 
{
    char b;
    scanf("%c",&b);
    if ((b >= 'a' && b <= 'z') || (b>= 'A' && b <= 'Z'))
     { printf("%c is an alphabet.\n",b);}
    else 
    {printf("%c is a special character\n",b);}
    int b;
    scanf("%d",&b);
    if(b<=9 && b>=0)
    {
        printf("%d is a digit.\n",b);
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: