While loop providing output before the getline input is prompted on the line above
Pretty much, whenever I try to run the code, the result is outputted before it asks for the color prompt. I don’t know why, when I run the color question standalone it works fine. It’s only in this code, any pointers?
New to coding here! Learning c++ and I’m trying to make a stupid joke quiz game for me and my friends, but it wont work as intended with a while loop
Pretty much, whenever I try to run the code, the result is a negative before it asks for the color prompt. I don’t know why, when I run the color question standalone it works fine. It’s only in this code, any pointers?