remove the "\n"s -- that is only for cout. Not allowed to have literals (text in quotes) on the cin line.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,957 posts
since Aug 2005