by Dinesh Thakur

 

 

#include<ctype.h>

#include<stdio.h>
#include<conio.h>
void main()
{
char ch;
for(;;)
{
ch = getchar();
if(ch==’.') break;
if(isalpha(ch)) printf("%c is a letter\n", ch);
}
getch():
}
 
OUTPUT:
s
s is a letter