C/C++ Validate cin inputs for range and type mismatch - loop until input is good
Channel: Dan McElroy
Date: 2020-09-24

C/C++ Validate cin inputs for integers
* detect mismatched inputs (text input when int is expected)
* validates for a range of numbers
* loop until a valid input is entered