// accept upper case lawer case
void main()
{
char m;
clrscr();
printf("enter an alphabet:");
scanf("%d",&m);
if(m>=65 && m<=90)
{
printf("\t the alphabet is 'uppercase'alphabet,m");
}
else if(m>=97 && m<=122)
{
printf("\t the character is 'lowercase'alphabet,m");
}
else
{
printf("\n it is not an 'alphabet'");
}
printf("\n press any key......");
getch();
}

0 comments:
Post a Comment