Here is the situation: I have a variable from type int. I read it from the console. When letters are read instead of numbers the program crashes. I need a message when the program crashes-to make the crash more beautiful For example the message can be "You must enter a number not text".
Thanks in advance