I am writing a program which simulates the work of an ATM machine. Basically, I want to display an error message if invalid character is entered. For example : 'Please enter your name...'
[here user enters a random digit, which is not a character]
[here I want the program to determine whether the input type is character or integer and then decide what to do next : show an error or continue ruing]
I just wonder if there is any possibility to do this?
Any help is appreciated.
