brothers, please teach me how to show error message when a user input non-character type value?
i try myself while i use if statement, but it will show me the error message too when type character type or string type.
if(name > 0)
{
system("cls");
printf("\t\t============\n");
printf("\t\t ALERT! \n");
printf("\t\t============\n");
printf("\t Please Enter In Alphabets!\n");
printf(" \n");
break;
}
please solve it for me, thanks.