Write a program to input an integer and check whether it is a 4=digit number or not.
Answers
Answered by
0
How to check if an input is an integer using C/C++?
...
Example
Input the data.
Apply isdigit() function that checks whether a given input is numeric character or not. This function takes single argument as an integer and also returns the value of type int.
Print the resultant output.
Similar questions