I have made an atm, but when i enter a character it crashes. How do I stop this from happening?
printf("Please select an option: ");
scanf("%d", & Option);//It will only accept numbers 1-4
That is what I'm using for the 4 options the user needs to choose from. If you choose a number that's not 1-4 it gives an error. But a character will crash it.