#include<iostream>
#include<cctype>
using namespace std;
int main()
{ 
   char input;
   cout << "Enter any character: ";
   cin.get(input);
   if (isdigit(input))
   {
   	cout << "It is a digit";
   }
   else if (isalpha(input))
   {
   	cout << "It is an alphabet";
   }
   else 
   {
   	cout << "It is a special character";
   }
   return 0;
}
