#include<stdio.h>intmain()
{
char c;
printf("Enter a character: ");
scanf("%c",&c);
if( (c>='a' && c<='z') || (c>='A' && c<='Z'))
printf("%c is an alphabet.",c);
else
printf("%c is not an alphabet.",c);
return 0;
}
Program to Check Alphabet
Reviewed by Unknown
on
01:54
Rating: 5
No comments: