How to check that console input should be integer only?

Printable View