You are here:   HomeC Programming (Pratical)C Program Print The Number
by Dinesh Thakur Category: C Programming (Pratical)

 

 



#include<ctype.h>

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


Search Content







Advance Courses



Basic Courses



Advertise with Us