I have a double value that I need the user to input. How can I make the program catch a letter (char/string) value if they enter it?

You'll have to detect a "fail" or "bad" state on the input stream, then flush and reset it.

Read this thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.