Any character is entered through the keyboard, write a program to determine whether the character entered is a capital letter, a small case letter, a digit or a special symbol.
#include#include int main () { char ch; int n; printf("Enter a character: "); scanf("%c", &ch); n=ch; if (n >= 65 && n <= 90) printf(“ It is a capital letter"); else if (n >= 97 && n <=122) printf(" It is a small letter"); else if (n >=48 && n <= 57) printf("It is a digit"); else if (n>=0 && n<=47 || n>=58 && n<=64 || n>=91 && n<=96 || n>=123 && n<=127) printf("It is a special symbol"); return 0; }