i am using this program to check input.
Where can i put error message in this program to show user if the input is not integer
cheers
Code:char input[100]; int i; do { printf("Give number: "); scanf("%s", input); for(i = 0; input[i] && isdigit(input[i]); i++) ; } while(i != 6 || input[i]);