How to validate cin input?

Printable View