by Dinesh Thakur

 

 

#include<ctype.h>

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