Not allow user to input string

Hi!

Can you show me an example of code that doesn't allow user to input string or char when program asks for an int? Simple code is better. It is easier to comprehend. Thanks a lot in advance.

- aladar04
or program returns an error message when user inputs string or char when it asks for an int...
thanks a lot Bazzy. I didn't notice your reply. Thanks a lot anyway.
Topic archived. No new replies allowed.