I have a problem that i have tried my best to solve..
but its not working well
in my program i take both integer and character inputs.
when typing fast i noticed that, when a user accidentally enters a character instead of integer or integer instead of character
the program goes into a frenzy loop and then quits.
Is there any way i can solve this
Thanks in advance