hi, i have the following codes, is there any way to check if the user entered a character instead a number? btw, i dont want to change the input type from long to char
thanks =D
long input;
printf("enter a digit to your list: ");
scanf("%ld",&input);