Refuses the entry if the user enters a float and keeps asking the user to enter an integer until the user responds properly and enters an integer.
i make this program but i don't know how to make the right way if there is better way will be great
printf("Enter integer: ");
printf("Try again (Please enter an integer)\n");
printf("The factorial of %d = %d\n",a,f);