Hi, I am looking for some ideas (for a beginner) how to check for a bad input from user. I already saw an example how to check whether the user typed "1", "2", or "3". However, what about more general check? Like to check whether the input is numerical in general? How do I find out whether the user did not type some litarals?

Thanks in advance.