+ 3

How can i check any No. from input is integer or not.

If I input a no. how can it tell me whether it is integer or not

3rd Jan 2020, 3:38 AM
Tanmay Gupta
Tanmay Gupta - avatar
1 ответ
+ 1
u can use isdigit(input[n])
3rd Jan 2020, 3:54 AM
Jakub Havlicek
Jakub Havlicek - avatar