C Language
#include<stdio.h> #include<conio.h> void main( ) { char ch; clrscr( ); printf("Enter any Character"); scanf("%c", &ch); if(ch >= 48 && ch <= 57) { printf("Digit"); } else if (ch>=65 && ch <=90) { printf("Upper Case"); } else if (ch >= 97 && ch <= 122) { printf("Lower Case"); } else { printf("Special Symbol"); } getch( ); } /*OUTPUT*/ Enter any Character + Special Symbol