#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("\n enter the character");
scanf("\n %c",&ch);
if(ch>=65 && ch<=97)
{
printf("\n character is uppercase");
}
if(ch>=97 && ch<=122)
{
printf("\n character is lowercase");
}
if(ch>=48 && ch<=57)
{
printf("\n character is digit");
}
getch();
}
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("\n enter the character");
scanf("\n %c",&ch);
if(ch>=65 && ch<=97)
{
printf("\n character is uppercase");
}
if(ch>=97 && ch<=122)
{
printf("\n character is lowercase");
}
if(ch>=48 && ch<=57)
{
printf("\n character is digit");
}
getch();
}