Hi, I'm having trouble writing a program that asks the user 3 questions.(3 possible answers for each) I am using a string to remember all the answers with a getline(cin,answer) statement.
My problem is the first two questions have choices for the answers that can be the same such as red, red.
The program works fine if the answers are all different, but when I put in "red" it automatically puts red for the first two answers and jumps to the 3rd question.
Any thoughts on how to get around this? I tried using a continute statement, but had no luck.
Thanks.