why cin.get work here??

Printable View