cin not allowing input after first use of function

Printable View