problem with cin.fail() in if/else clause

Printable View